Class XmlRuntimeException

    • Constructor Detail

      • XmlRuntimeException

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

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

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

        public XmlRuntimeException​(String m,
                                   Throwable t,
                                   Collection 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​(String m,
                                   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 Collection getErrors()
        Returns the collection of XmlErrors that caused this exception, if any.