org.proteinshader.graphics.exceptions
Class TextureException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.proteinshader.graphics.exceptions.TextureException
All Implemented Interfaces:
Serializable

public class TextureException
extends Exception

To report errors that occur while loading a texture.

See Also:
Serialized Form

Constructor Summary
TextureException()
          Sets the default message to "An error occurred while using a texture map".
TextureException(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

TextureException

public TextureException()
Sets the default message to "An error occurred while using a texture map".


TextureException

public TextureException(String message)
The message given this constructor can be retrieved using getMessage().

Parameters:
message - an error message.


Copyright © 2007-2008