Class XmlException


public class XmlException extends IOException

Thrown when a document is not well-formed XML, uses a construct this parser refuses (an entity it does not know, nesting past the limit), or is not the structure a reader such as PropertyLists expects.

The message names the problem and, where one is known, the character offset in the decoded document.

  • Constructor Details

    • XmlException

      public XmlException(String message)
      An exception with the given message.
    • XmlException

      public XmlException(String message, Throwable cause)
      An exception with the given message, caused by cause.