|
JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java (public API).
|
A registered UncaughtExceptionHandler instance is invoked when an animator abruptly stops due to an uncaught exception from one of its GLAutoDrawables.
More...
Public Member Functions | |
| void | uncaughtException (final GLAnimatorControl animator, final GLAutoDrawable drawable, final Throwable cause) |
Method invoked when the given GLAnimatorControl is stopped due to the given uncaught exception happened on the given GLAutoDrawable. More... | |
A registered UncaughtExceptionHandler instance is invoked when an animator abruptly stops due to an uncaught exception from one of its GLAutoDrawables.
Definition at line 44 of file GLAnimatorControl.java.
| void com.jogamp.opengl.GLAnimatorControl.UncaughtExceptionHandler.uncaughtException | ( | final GLAnimatorControl | animator, |
| final GLAutoDrawable | drawable, | ||
| final Throwable | cause | ||
| ) |
Method invoked when the given 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, may be null in case Throwable caused unrelated to any GLAutoDrawable. |
| cause | the uncaught exception |