javax.media.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 `GLAutoDrawable`s.
  Since:
    2.2
  See Also:
    `uncaughtException(GLAnimatorControl, GLAutoDrawable, Throwable)`, `GLAnimatorControl.setUncaughtExceptionHandler(UncaughtExceptionHandler)`

- - ### Method Summary

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

- - ### Method Detail

    - #### uncaughtException

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

      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:
        `animator` - the `GLAnimatorControl`
        `drawable` - the causing `GLAutoDrawable`
        `cause` - the uncaught exception
      Since:
        2.2
      See Also:
        `GLAnimatorControl.setUncaughtExceptionHandler(UncaughtExceptionHandler)`

Copyright 2010 JogAmp Community.