Package com.jogamp.opengl
Interface GLAnimatorControl.UncaughtExceptionHandler
-
- Enclosing interface:
- GLAnimatorControl
public static interface GLAnimatorControl.UncaughtExceptionHandlerAregisteredGLAnimatorControl.UncaughtExceptionHandlerinstance is invoked when ananimatorabruptlystopsdue to an uncaught exception from one of itsGLAutoDrawables.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiduncaughtException(GLAnimatorControl animator, GLAutoDrawable drawable, Throwable cause)Method invoked when the givenGLAnimatorControlisstoppeddue to the given uncaught exception happened on the givenGLAutoDrawable.
-
-
-
Method Detail
-
uncaughtException
void uncaughtException(GLAnimatorControl animator, GLAutoDrawable drawable, Throwable cause)
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:
GLAnimatorControl.setUncaughtExceptionHandler(UncaughtExceptionHandler)
-
-