Class ParserException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ParserException
    extends java.lang.RuntimeException
    This class models a general exception for parsing.
    Author:
    Matthias Thimm
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ParserException​(java.lang.Exception e)
      Creates a new parser exception with the given sub exception.
      ParserException​(java.lang.String message)
      Creates a new parser exception with the given message.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ParserException

        public ParserException​(java.lang.String message)
        Creates a new parser exception with the given message.
        Parameters:
        message - a string.
      • ParserException

        public ParserException​(java.lang.Exception e)
        Creates a new parser exception with the given sub exception.
        Parameters:
        e - an exception.