summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/classes/com/sun/opengl/impl/GLReflection.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/classes/com/sun/opengl/impl/GLReflection.java b/src/classes/com/sun/opengl/impl/GLReflection.java
index 256a9b9..8c89c50 100644
--- a/src/classes/com/sun/opengl/impl/GLReflection.java
+++ b/src/classes/com/sun/opengl/impl/GLReflection.java
@@ -45,7 +45,7 @@ public final class GLReflection {
try {
Class clazz = Class.forName(clazzName);
return null!=clazz;
- } catch (Exception e) { }
+ } catch (Throwable e) { }
return false;
}
@@ -64,7 +64,10 @@ public final class GLReflection {
throw new GLUnsupportedException("Constructor: '" + clazzName + "("+cstrArgTypes+")' not found");
}
return factory;
- } catch (Exception e) {
+ } catch (Throwable e) {
+ if (Debug.debug("GLReflection")) {
+ e.printStackTrace();
+ }
throw new GLUnsupportedException(e);
}
}