summaryrefslogtreecommitdiffstats
path: root/src/test/com/jogamp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-08-06 06:06:01 +0200
committerSven Gothel <[email protected]>2014-08-06 06:06:01 +0200
commit5c1214b26ad6c877a9c0f8099a7fc2a230a8b245 (patch)
treefe4a1015798e75b1d32cb3f7d77e7854cc8cef87 /src/test/com/jogamp
parent88eef9e4eae8e63762252f1d11bca2bd0fde809b (diff)
Bug 1039: Rename GLAnimatorControl.UncaughtGLAnimatorExceptionHandler -> GLAnimatorControl.UncaughtExceptionHandler
Diffstat (limited to 'src/test/com/jogamp')
-rw-r--r--src/test/com/jogamp/opengl/test/junit/jogl/acore/TestGLException01NEWT.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestGLException01NEWT.java b/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestGLException01NEWT.java
index 83d5e9cc5..cdbe3af94 100644
--- a/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestGLException01NEWT.java
+++ b/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestGLException01NEWT.java
@@ -190,22 +190,22 @@ public class TestGLException01NEWT extends UITestCase {
RuntimeException exceptionAtInvoke = null;
RuntimeException exceptionAtDispose = null;
final List<AnimException> exceptionsAtGLAnimatorControl = new ArrayList<AnimException>();
- final GLAnimatorControl.UncaughtGLAnimatorExceptionHandler uncaughtGLAnimatorExceptionHandler;
+ final GLAnimatorControl.UncaughtExceptionHandler uncaughtExceptionHandler;
final Animator animator;
if( onThread ) {
animator = null;
- uncaughtGLAnimatorExceptionHandler = null;
+ uncaughtExceptionHandler = null;
} else {
animator = new Animator(glWindow);
- uncaughtGLAnimatorExceptionHandler = new GLAnimatorControl.UncaughtGLAnimatorExceptionHandler() {
+ uncaughtExceptionHandler = new GLAnimatorControl.UncaughtExceptionHandler() {
@Override
public void uncaughtException(final GLAnimatorControl animator, final GLAutoDrawable drawable, final Throwable cause) {
final AnimException ae = new AnimException(animator.getThread(), animator, drawable, cause);
exceptionsAtGLAnimatorControl.add(ae);
dumpThrowable(ae);
} };
- animator.setUncaughtExceptionHandler(uncaughtGLAnimatorExceptionHandler);
+ animator.setUncaughtExceptionHandler(uncaughtExceptionHandler);
}
glWindow.setSize(width, height);