Package com.jogamp.opengl
Class GLException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.jogamp.opengl.GLException
- All Implemented Interfaces:
Serializable
A generic exception for OpenGL errors used throughout the binding
as a substitute for
RuntimeException
.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a GLException object.GLException
(String message) Constructs a GLException object with the specified detail message.GLException
(String message, Throwable cause) Constructs a GLException object with the specified detail message and root cause.GLException
(Throwable cause) Constructs a GLException object with the specified root cause. -
Method Summary
Modifier and TypeMethodDescriptionstatic GLException
Constructs a GLException object with the specified root cause with a decorating message including the current thread name.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
GLException
public GLException()Constructs a GLException object. -
GLException
Constructs a GLException object with the specified detail message. -
GLException
Constructs a GLException object with the specified detail message and root cause. -
GLException
Constructs a GLException object with the specified root cause.
-
-
Method Details
-
newGLException
Constructs a GLException object with the specified root cause with a decorating message including the current thread name.- Since:
- 2.2
-