JOGL v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.opengl.GLException Class Reference

A generic exception for OpenGL errors used throughout the binding as a substitute for RuntimeException. More...

Inheritance diagram for com.jogamp.opengl.GLException:
Collaboration diagram for com.jogamp.opengl.GLException:

Public Member Functions

 GLException ()
 Constructs a GLException object. More...
 
 GLException (final String message)
 Constructs a GLException object with the specified detail message. More...
 
 GLException (final String message, final Throwable cause)
 Constructs a GLException object with the specified detail message and root cause. More...
 
 GLException (final Throwable cause)
 Constructs a GLException object with the specified root cause. More...
 

Static Public Member Functions

static GLException newGLException (final Throwable t)
 Constructs a GLException object with the specified root cause with a decorating message including the current thread name. More...
 

Detailed Description

A generic exception for OpenGL errors used throughout the binding as a substitute for RuntimeException.

Definition at line 46 of file GLException.java.

Constructor & Destructor Documentation

◆ GLException() [1/4]

com.jogamp.opengl.GLException.GLException ( )

Constructs a GLException object.

Definition at line 48 of file GLException.java.

◆ GLException() [2/4]

com.jogamp.opengl.GLException.GLException ( final String  message)

Constructs a GLException object with the specified detail message.

Definition at line 54 of file GLException.java.

◆ GLException() [3/4]

com.jogamp.opengl.GLException.GLException ( final String  message,
final Throwable  cause 
)

Constructs a GLException object with the specified detail message and root cause.

Definition at line 60 of file GLException.java.

◆ GLException() [4/4]

com.jogamp.opengl.GLException.GLException ( final Throwable  cause)

Constructs a GLException object with the specified root cause.

Definition at line 66 of file GLException.java.

Member Function Documentation

◆ newGLException()

static GLException com.jogamp.opengl.GLException.newGLException ( final Throwable  t)
static

Constructs a GLException object with the specified root cause with a decorating message including the current thread name.

Since
2.2

Definition at line 75 of file GLException.java.


The documentation for this class was generated from the following file: