Class ParseException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ParseException
    extends java.lang.Exception
    ParseException
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ParseException​(int lineNumber, int colNumber, java.lang.String systemId)
      Constructs a new instance of this class with null as its detail message.
      ParseException​(java.lang.String message, int lineNumber, int colNumber, java.lang.String systemId)
      Constructs a new instance of this class with the specified detail message.
      ParseException​(java.lang.String message, java.lang.Throwable rootCause, int lineNumber, int colNumber, java.lang.String systemId)
      Constructs a new instance of this class with the specified detail message and root cause.
      ParseException​(java.lang.Throwable rootCause, int lineNumber, int colNumber, java.lang.String systemId)
      Constructs a new instance of this class with the specified root cause.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getMessage()
      java.lang.String toString()
      • Methods inherited from class java.lang.Throwable

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

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

      • ParseException

        public ParseException​(int lineNumber,
                              int colNumber,
                              java.lang.String systemId)
        Constructs a new instance of this class with null as its detail message.
        Parameters:
        lineNumber - line number
        colNumber - columns number
        systemId - system id
      • ParseException

        public ParseException​(java.lang.String message,
                              int lineNumber,
                              int colNumber,
                              java.lang.String systemId)
        Constructs a new instance of this class with the specified detail message.
        Parameters:
        message - the detail message. The detail message is saved for later retrieval by the getMessage() method.
        lineNumber - line number
        colNumber - columns number
        systemId - system id
      • ParseException

        public ParseException​(java.lang.String message,
                              java.lang.Throwable rootCause,
                              int lineNumber,
                              int colNumber,
                              java.lang.String systemId)
        Constructs a new instance of this class with the specified detail message and root cause.
        Parameters:
        message - the detail message. The detail message is saved for later retrieval by the getMessage() method.
        lineNumber - line number
        colNumber - columns number
        systemId - system id
        rootCause - root failure cause
      • ParseException

        public ParseException​(java.lang.Throwable rootCause,
                              int lineNumber,
                              int colNumber,
                              java.lang.String systemId)
        Constructs a new instance of this class with the specified root cause.
        Parameters:
        lineNumber - line number
        colNumber - columns number
        systemId - system id
        rootCause - root failure cause
    • Method Detail

      • getMessage

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

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