Class XPathException

    • Constructor Detail

      • XPathException

        public XPathException​(String message)

        Constructs a new XPathException with the specified detail message.

        The cause is not initialized.

        If message is null, then a NullPointerException is thrown.

        Parameters:
        message - The detail message.
      • XPathException

        public XPathException​(Throwable cause)

        Constructs a new XPathException with the specified cause.

        If cause is null, then a NullPointerException is thrown.

        Parameters:
        cause - The cause.
        Throws:
        NullPointerException - if cause is null.
    • Method Detail

      • getCause

        public Throwable getCause()
        Description copied from class: Throwable
        Returns the cause of this Throwable, or null if there is no cause.
        Overrides:
        getCause in class Throwable
      • printStackTrace

        public void printStackTrace​(PrintStream s)
        Description copied from class: Throwable
        Writes a printable representation of this Throwable's stack trace to the given print stream. If the Throwable contains a cause, the method will be invoked recursively for the nested Throwable.
        Overrides:
        printStackTrace in class Throwable
      • printStackTrace

        public void printStackTrace()
        Description copied from class: Throwable
        Writes a printable representation of this Throwable's stack trace to the System.err stream.
        Overrides:
        printStackTrace in class Throwable
      • printStackTrace

        public void printStackTrace​(PrintWriter s)
        Description copied from class: Throwable
        Writes a printable representation of this Throwable's stack trace to the specified print writer. If the Throwable contains a cause, the method will be invoked recursively for the nested Throwable.
        Overrides:
        printStackTrace in class Throwable
        Parameters:
        s - the writer to write the stack trace on.