Package com.jogamp.opengl
Interface GLAnimatorControl.UncaughtExceptionHandler
- Enclosing interface:
- GLAnimatorControl
public static interface GLAnimatorControl.UncaughtExceptionHandler
A
registered
GLAnimatorControl.UncaughtExceptionHandler instance is invoked when an animator abruptly stops
due to an uncaught exception from one of its GLAutoDrawables.-
Method Summary
Modifier and TypeMethodDescriptionvoiduncaughtException(GLAnimatorControl animator, GLAutoDrawable drawable, Throwable cause) Method invoked when the givenGLAnimatorControlisstoppeddue to the given uncaught exception happened on the givenGLAutoDrawable.
-
Method Details
-
uncaughtException
Method invoked when the givenGLAnimatorControlisstoppeddue to the given uncaught exception happened on the givenGLAutoDrawable.The animator thread can still be retrieved via
GLAnimatorControl.getThread().All
GLAnimatorControlstates already reflect its stopped state.After this handler method is called, the
GLAnimatorControlis stopped.Any exception thrown by this method will be ignored.
- Parameters:
animator- theGLAnimatorControldrawable- the causingGLAutoDrawable, may benullin caseThrowablecaused unrelated to anyGLAutoDrawable.cause- the uncaught exception- Since:
- 2.2
- See Also:
-