javax.media.opengl

Class GLException


public class GLException
extends RuntimeException

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

Constructor Summary

GLException()
Constructs 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.

Constructor Details

GLException

public GLException()
Constructs a GLException object.

GLException

public GLException(String message)
Constructs a GLException object with the specified detail message.

GLException

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

GLException

public GLException(Throwable cause)
Constructs a GLException object with the specified root cause.

Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.