org.proteinshader.graphics.exceptions
Class ShaderException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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().
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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