org.proteinshader.graphics.exceptions
Class GlyphConfigException

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

public class GlyphConfigException
extends GlyphException

To report errors that occur while creating a Glyph.

This subclass of GlyphException is intended to be used when there is a problem with a configuration file for a glyph set. The constructor expects the name of the config file and a short error message.

See Also:
Serialized Form

Constructor Summary
GlyphConfigException(String configFilename, String message)
          The message given this constructor can be retrieved using getMessage().
 
Method Summary
 String getConfigFilename()
          Returns the name of the configuation file that had a problem.
 
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

GlyphConfigException

public GlyphConfigException(String configFilename,
                            String message)
The message given this constructor can be retrieved using getMessage().

Parameters:
configFilename - the name of the configuration file.
message - a short message explaining the error.
Method Detail

getConfigFilename

public String getConfigFilename()
Returns the name of the configuation file that had a problem.

Returns:
The config filename as a String.


Copyright © 2007-2008