http://www.jpicedt.org

jpicedt.graphic.io.parser
Class ParserException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by jpicedt.graphic.io.parser.ParserException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ParserException.UnrecognizedFileFormat, REParserException

public class ParserException
extends java.lang.Exception

Placeholder for the Exception class ; should serve as the base-class for any Exception related to parsing processes, and may be used as an Exception wrapper as well, e.g. for SAX generated Exception's.

See Also:
Serialized Form

Nested Class Summary
static class ParserException.UnrecognizedFileFormat
          May signal that the content being currently parsed does not correspond to any recognized/supported format
 
Constructor Summary
ParserException(java.lang.Exception ex)
          Convenient constructor for wrapping an Exception into a ParserException
ParserException(java.lang.String message)
           
 
Method Summary
 java.lang.String getMessage()
           
protected  java.lang.String localize(java.lang.String str)
          Return a localized version of the given string, by relying on the currently installed jpicedt.Localizer.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

ParserException

public ParserException(java.lang.String message)

ParserException

public ParserException(java.lang.Exception ex)
Convenient constructor for wrapping an Exception into a ParserException

Method Detail

localize

protected java.lang.String localize(java.lang.String str)
Return a localized version of the given string, by relying on the currently installed jpicedt.Localizer.


getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable

http://www.jpicedt.org

Submit a bug : syd@jpicedt.org