Class 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

      Nested Classes 
      Modifier and Type Class Description
      static class  ParserException.UnrecognizedFileFormat
      May signal that the content being currently parsed does not correspond to any recognized/supported format
    • Constructor Summary

      Constructors 
      Constructor Description
      ParserException​(java.lang.Exception ex)
      Convenient constructor for wrapping an Exception into a ParserException
      ParserException​(java.lang.String message)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, 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