Class JiBXException

    • Constructor Detail

      • JiBXException

        public JiBXException​(String msg)
        Constructor from message.
        Parameters:
        msg - message describing the exception condition
      • JiBXException

        public JiBXException​(String msg,
                             Throwable root)
        Constructor from message and wrapped exception.
        Parameters:
        msg - message describing the exception condition
        root - exception which caused this exception
    • Method Detail

      • getRootCause

        public Throwable getRootCause()
        Get root cause exception.
        Returns:
        exception that caused this exception
      • getCause

        public Throwable getCause()
        Get the cause of this exception. Provided for compatibility with later JVMs, overriding the java.lang.Throwable method.
        Overrides:
        getCause in class Throwable
        Returns:
        exception that caused this exception
      • printStackTrace

        public void printStackTrace()
        Print stack trace to standard error. This is an override of the base class method to implement exception chaining.
        Overrides:
        printStackTrace in class Throwable
      • printStackTrace

        public void printStackTrace​(PrintStream s)
        Print stack trace to stream. This is an override of the base class method to implement exception chaining.
        Overrides:
        printStackTrace in class Throwable
        Parameters:
        s - stream for printing stack trace
      • printStackTrace

        public void printStackTrace​(PrintWriter s)
        Print stack trace to writer. This is an override of the base class method to implement exception chaining.
        Overrides:
        printStackTrace in class Throwable
        Parameters:
        s - writer for printing stack trace