JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.opengl.GLAnimatorControl.UncaughtExceptionHandler Interface Reference

A registered UncaughtExceptionHandler instance is invoked when an animator abruptly stops due to an uncaught exception from one of its GLAutoDrawables. More...

Collaboration diagram for com.jogamp.opengl.GLAnimatorControl.UncaughtExceptionHandler:

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...
 

Detailed Description

Member Function Documentation

◆ uncaughtException()

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.

Parameters
animatorthe GLAnimatorControl
drawablethe causing GLAutoDrawable, may be null in case Throwable caused unrelated to any GLAutoDrawable.
causethe uncaught exception
See also
GLAnimatorControl::setUncaughtExceptionHandler(UncaughtExceptionHandler)
Since
2.2
Here is the caller graph for this function:

The documentation for this interface was generated from the following file: