diff options
Diffstat (limited to 'src/classes/javax/media/opengl/GLUnsupportedException.java')
-rw-r--r-- | src/classes/javax/media/opengl/GLUnsupportedException.java | 6 |
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); } } |