Class XmlRuntimeException

    • Constructor Summary

      Constructors 
      Constructor Description
      XmlRuntimeException​(java.lang.String m)
      Constructs an XmlRuntimeException from a message.
      XmlRuntimeException​(java.lang.String m, java.lang.Throwable t)
      Constructs an XmlRuntimeException from a message and a cause.
      XmlRuntimeException​(java.lang.String m, java.lang.Throwable t, java.util.Collection<XmlError> errors)
      Constructs an XmlRuntimeException from a message, a cause, and a collection of XmlErrors.
      XmlRuntimeException​(java.lang.String m, java.lang.Throwable t, XmlError error)
      Constructs an XmlRuntimeException from a message, a cause, and an XmlError.
      XmlRuntimeException​(java.lang.Throwable t)
      Constructs an XmlRuntimeException from a cause.
      XmlRuntimeException​(XmlError error)
      Constructs an XmlRuntimeException from an XmlError.
      XmlRuntimeException​(XmlException xmlException)
      Constructs an XmlRuntimeException from an XmlException.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      XmlError getError()
      Returns the first XmlError that caused this exception, if any.
      java.util.Collection<XmlError> getErrors()
      Returns the collection of XmlErrors that caused this exception, if any.
      • 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

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

      • XmlRuntimeException

        public XmlRuntimeException​(java.lang.String m)
        Constructs an XmlRuntimeException from a message.
      • XmlRuntimeException

        public XmlRuntimeException​(java.lang.String m,
                                   java.lang.Throwable t)
        Constructs an XmlRuntimeException from a message and a cause.
      • XmlRuntimeException

        public XmlRuntimeException​(java.lang.Throwable t)
        Constructs an XmlRuntimeException from a cause.
      • XmlRuntimeException

        public XmlRuntimeException​(java.lang.String m,
                                   java.lang.Throwable t,
                                   java.util.Collection<XmlError> errors)
        Constructs an XmlRuntimeException from a message, a cause, and a collection of XmlErrors.
      • XmlRuntimeException

        public XmlRuntimeException​(XmlError error)
        Constructs an XmlRuntimeException from an XmlError.
      • XmlRuntimeException

        public XmlRuntimeException​(java.lang.String m,
                                   java.lang.Throwable t,
                                   XmlError error)
        Constructs an XmlRuntimeException from a message, a cause, and an XmlError.
      • XmlRuntimeException

        public XmlRuntimeException​(XmlException xmlException)
        Constructs an XmlRuntimeException from an XmlException.
    • Method Detail

      • getError

        public XmlError getError()
        Returns the first XmlError that caused this exception, if any.
      • getErrors

        public java.util.Collection<XmlError> getErrors()
        Returns the collection of XmlErrors that caused this exception, if any.