41package com.jogamp.opengl;
45@SuppressWarnings(
"serial")
60 public GLException(
final String message,
final Throwable cause) {
61 super(message, cause);
76 return new GLException(
"Caught "+t.getClass().getSimpleName()+
": "+t.getMessage()+
" on thread "+Thread.currentThread().getName(), t);
A generic exception for OpenGL errors used throughout the binding as a substitute for RuntimeExceptio...
GLException(final String message)
Constructs a GLException object with the specified detail message.
static GLException newGLException(final Throwable t)
Constructs a GLException object with the specified root cause with a decorating message including the...
GLException(final Throwable cause)
Constructs a GLException object with the specified root cause.
GLException()
Constructs a GLException object.
GLException(final String message, final Throwable cause)
Constructs a GLException object with the specified detail message and root cause.