processing.core
Class PApplet.RendererChangeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by processing.core.PApplet.RendererChangeException
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
PApplet

public static class PApplet.RendererChangeException
extends java.lang.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
PApplet.RendererChangeException()
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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()