aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/javax/media/opengl
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2008-07-31 01:25:11 +0000
committerKenneth Russel <[email protected]>2008-07-31 01:25:11 +0000
commitfda288da7746aefc3c9380aa63e02ad6da42ba5b (patch)
tree0cb405f4d8ece53d0076b2817eed882d96907d6f /src/classes/javax/media/opengl
parent659b59dd072d8b22d0d516770fd6864796ab89db (diff)
Changes needed to build against JDK 1.4.2 and in particular with -Djogl.cdcfp=1
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1737 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/classes/javax/media/opengl')
-rw-r--r--src/classes/javax/media/opengl/GLUnsupportedException.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/classes/javax/media/opengl/GLUnsupportedException.java b/src/classes/javax/media/opengl/GLUnsupportedException.java
index 34a1c7340..ee1708634 100644
--- a/src/classes/javax/media/opengl/GLUnsupportedException.java
+++ b/src/classes/javax/media/opengl/GLUnsupportedException.java
@@ -57,12 +57,14 @@ public class GLUnsupportedException extends UnsupportedOperationException {
/** Constructs a GLUnsupportedException object with the specified detail
message and root cause. */
public GLUnsupportedException(String message, Throwable cause) {
- super(message, cause);
+ super(message);
+ initCause(cause);
}
/** Constructs a GLUnsupportedException object with the specified root
cause. */
public GLUnsupportedException(Throwable cause) {
- super(cause);
+ super();
+ initCause(cause);
}
}