Class JiBXException

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.Throwable m_rootCause
      Exception that caused this exception.
    • Constructor Summary

      Constructors 
      Constructor Description
      JiBXException​(java.lang.String msg)
      Constructor from message.
      JiBXException​(java.lang.String msg, java.lang.Throwable root)
      Constructor from message and wrapped exception.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Throwable getCause()
      Get the cause of this exception.
      java.lang.Throwable getRootCause()
      Get root cause exception.
      void printStackTrace()
      Print stack trace to standard error.
      void printStackTrace​(java.io.PrintStream s)
      Print stack trace to stream.
      void printStackTrace​(java.io.PrintWriter s)
      Print stack trace to writer.
      • Methods inherited from class java.lang.Throwable

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

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • m_rootCause

        private java.lang.Throwable m_rootCause
        Exception that caused this exception.
    • Constructor Detail

      • JiBXException

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

        public JiBXException​(java.lang.String msg,
                             java.lang.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 java.lang.Throwable getRootCause()
        Get root cause exception.
        Returns:
        exception that caused this exception
      • getCause

        public java.lang.Throwable getCause()
        Get the cause of this exception. Provided for compatibility with later JVMs, overriding the java.lang.Throwable method.
        Overrides:
        getCause in class java.lang.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 java.lang.Throwable
      • printStackTrace

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

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