processing.core

## Class PApplet.RendererChangeException

- Object
- - Throwable
  - - Exception
    - - RuntimeException
      - - 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 Throwable

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

    - ### Methods inherited from class Object

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

- - ### Constructor Detail

    - #### PApplet.RendererChangeException

          public PApplet.RendererChangeException()