Class XMLStreamException

    • Constructor Detail

      • XMLStreamException

        public XMLStreamException()
      • XMLStreamException

        public XMLStreamException​(String msg)
      • XMLStreamException

        public XMLStreamException​(Throwable th)
      • XMLStreamException

        public XMLStreamException​(String msg,
                                  Throwable th)
    • Method Detail

      • getNestedException

        public Throwable getNestedException()
        Gets the nested exception.
        Returns:
        Nested exception
      • toString

        public String toString()
        Prints the exception message and its nested exception message.
        Overrides:
        toString in class Throwable
        Returns:
        String representation of the exception
      • printStackTrace

        public void printStackTrace​(PrintStream s)
        Prints the stack trace associated with this exception and its nested exception.
        Overrides:
        printStackTrace in class Throwable
        Parameters:
        s - PrintStream
      • printStackTrace

        public void printStackTrace​(PrintWriter w)
        Prints the stack trace associated with this exception and its nested exception.
        Overrides:
        printStackTrace in class Throwable
        Parameters:
        s - PrintStream
      • printStackTrace

        public void printStackTrace()
        Prints the stack trace associated with this exception and its nested exception to System.err.
        Overrides:
        printStackTrace in class Throwable
        Parameters:
        s - PrintStream