org.proteinshader.graphics.exceptions
Class ShaderException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.proteinshader.graphics.exceptions.ShaderException
- All Implemented Interfaces:
- Serializable
public class ShaderException
- extends Exception
To report errors that occur while creating or using an OpenGL shader.
- See Also:
- Serialized Form
Constructor Summary |
ShaderException()
Sets the default message to "An error occurred while using an
OpenGL shader". |
ShaderException(String message)
The message given this constructor can be retrieved using
getMessage(). |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ShaderException
public ShaderException()
- Sets the default message to "An error occurred while using an
OpenGL shader".
ShaderException
public ShaderException(String message)
- The message given this constructor can be retrieved using
getMessage().
- Parameters:
message
- an error message.
Copyright © 2007-2008