Class XmlException

    • Constructor Detail

      • XmlException

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

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

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

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

      • getError

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

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