Class XmlException

    • Constructor Summary

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

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

      • XmlException

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

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

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

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

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

        public XmlException​(java.lang.String m,
                            java.lang.Throwable t,
                            java.util.Collection errors)
        Constructs an XmlException from a message, a cause, and a collection of XmlErrors.
    • Method Detail

      • getError

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

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