processing.core

## Class PApplet.RendererChangeException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - processing.core.PApplet.RendererChangeException

- All Implemented Interfaces:
    Serializable
  Enclosing class:
    PApplet

      public static class PApplet.RendererChangeException
      extends RuntimeException

  Exception thrown when size() is called the first time.

  This is used internally so that setup() is forced to run twice when the renderer is changed. This is the only way for us to handle invoking the new renderer while also in the midst of rendering.

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PApplet.RendererChangeException()`

  - ### Method Summary

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### PApplet.RendererChangeException

          public PApplet.RendererChangeException()