public static interface GLAnimatorControl.UncaughtExceptionHandler
registered
GLAnimatorControl.UncaughtExceptionHandler
instance is invoked when an animator
abruptly stops
due to an uncaught exception from one of its GLAutoDrawable
s.Modifier and Type | Method and Description |
---|---|
void |
uncaughtException(GLAnimatorControl animator,
GLAutoDrawable drawable,
Throwable cause)
Method invoked when the given
GLAnimatorControl is stopped due to the
given uncaught exception happened on the given GLAutoDrawable . |
void uncaughtException(GLAnimatorControl animator, GLAutoDrawable drawable, Throwable cause)
GLAnimatorControl
is stopped
due to the
given uncaught exception happened on the given GLAutoDrawable
.
The animator thread can still be retrieved via GLAnimatorControl.getThread()
.
All GLAnimatorControl
states already reflect its stopped state.
After this handler method is called, the GLAnimatorControl
is stopped.
Any exception thrown by this method will be ignored.
animator
- the GLAnimatorControl
drawable
- the causing GLAutoDrawable
cause
- the uncaught exceptionGLAnimatorControl.setUncaughtExceptionHandler(UncaughtExceptionHandler)
Copyright 2010 JogAmp Community.