org.proteinshader.graphics.exceptions
Class GlyphConfigException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.proteinshader.graphics.exceptions.GlyphException
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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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.
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