Class XOMException

  • All Implemented Interfaces:
    java.io.Serializable

    public class XOMException
    extends java.lang.Exception
    XOMException extends Exception and provides detailed error messages for xom-specific exceptions.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      XOMException()
      Constructs a XOM exception with no message.
      XOMException​(java.lang.String s)
      Constructs an exception with a detailed message.
      XOMException​(java.lang.Throwable cause, java.lang.String s)
      Constructs an exception based on another exception, so that the exceptions may be chained.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

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

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

      • XOMException

        public XOMException()
        Constructs a XOM exception with no message.
      • XOMException

        public XOMException​(java.lang.String s)
        Constructs an exception with a detailed message.
        Parameters:
        s - - a detailed message describing the specific error
      • XOMException

        public XOMException​(java.lang.Throwable cause,
                            java.lang.String s)
        Constructs an exception based on another exception, so that the exceptions may be chained.
        Parameters:
        cause - the exception on which this one is based.
        s - a message for this portion of the exception.