summaryrefslogtreecommitdiffstats
path: root/src/classes/com/sun/opengl/impl
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2008-07-18 12:24:17 +0000
committerSven Gothel <[email protected]>2010-04-19 00:55:57 +0200
commit758f6eed4b97667f2024b5c62fc04cbb62e57740 (patch)
tree5ea626a223d1a6e8026f86d40e79e35f8d5f55ea /src/classes/com/sun/opengl/impl
parentd2bcb236273092923b04fa0096918523f2a3c02a (diff)
- Using new config feature: 'IgnoreExtendedInterfaceSymbols <java class source file>' and get rid of manual 'Ignore' configs for common stuff in the base interfaces.
- Add: GLUnsupportedException: - Using new config feature 'UnsupportedExceptionType GLUnsupportedException' - GLUnsupportedException is used for anything 'UnsupportedOperationException' - GLU: - GLU itself is no more abstract - GLU contains the tesselator implementation - name, return type, modifiers and arguments - createGLU(..) - operated by profile name now. - GLU itself will be used for GLES2 - Cleanup: - gluegen/GL configs .. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1725 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/classes/com/sun/opengl/impl')
-rw-r--r--src/classes/com/sun/opengl/impl/GLReflection.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/classes/com/sun/opengl/impl/GLReflection.java b/src/classes/com/sun/opengl/impl/GLReflection.java
index 6898db8..5e55aba 100644
--- a/src/classes/com/sun/opengl/impl/GLReflection.java
+++ b/src/classes/com/sun/opengl/impl/GLReflection.java
@@ -48,12 +48,12 @@ public final class GLReflection {
try {
factoryClass = Class.forName(clazzName);
if (factoryClass == null) {
- throw new GLException(clazzName + " not available");
+ throw new GLUnsupportedException(clazzName + " not available");
}
try {
factory = factoryClass.getDeclaredConstructor( cstrArgTypes );
} catch(NoSuchMethodException nsme) {
- throw new GLException("Constructor: '" + clazzName + "("+cstrArgTypes+")' not found");
+ throw new GLUnsupportedException("Constructor: '" + clazzName + "("+cstrArgTypes+")' not found");
}
return factory;
} catch (Exception e) {