aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/javax
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2006-02-21 08:20:42 +0000
committerKenneth Russel <[email protected]>2006-02-21 08:20:42 +0000
commit6b3eb7ba25d3ef0123f2f6f1987237e3596b6399 (patch)
treed84e3ccc060d54fc777f27032cc67310c7801ba2 /src/classes/javax
parentc9faf1391d8ab972fb0f1b231c33a5bf02be5051 (diff)
Added exception propagation from GLWorkerThread
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@626 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/classes/javax')
-rwxr-xr-xsrc/classes/javax/media/opengl/Threading.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/classes/javax/media/opengl/Threading.java b/src/classes/javax/media/opengl/Threading.java
index 2f1aa4fb7..7aa57def5 100755
--- a/src/classes/javax/media/opengl/Threading.java
+++ b/src/classes/javax/media/opengl/Threading.java
@@ -250,7 +250,13 @@ public class Threading {
}
}
}
- GLWorkerThread.invokeAndWait(r);
+ try {
+ GLWorkerThread.invokeAndWait(r);
+ } catch (InvocationTargetException e) {
+ throw new GLException(e.getTargetException());
+ } catch (InterruptedException e) {
+ throw new GLException(e);
+ }
break;
default: