Class XMLParseException

  • All Implemented Interfaces:
    Serializable

    public class XMLParseException
    extends Exception
    Indicates a problem parsing an XML document
    Author:
    Stefan Frings, http://stefanfrings.de/javautils
    See Also:
    Serialized Form
    • Field Detail

      • line

        public final Integer line
        Line number where the error occurred, may be null
      • column

        public final Integer column
        Column number where the error occurred, may be null
      • name

        public final String name
        Symbolic name of the XML document
    • Constructor Detail

      • XMLParseException

        public XMLParseException​(String msg,
                                 Throwable cause,
                                 String name,
                                 Integer line,
                                 Integer column)
        Constructor with message text and cause
        Parameters:
        msg - Message text
        cause - Cause of the problem
        name - mbolic name of the XML document
        line - Line number where the error occured
        column - Column number where the error occure
      • XMLParseException

        public XMLParseException​(String msg,
                                 String name,
                                 Integer line,
                                 Integer column)
        Constructor with message text
        Parameters:
        msg - Message text
        name - mbolic name of the XML document
        line - Line number where the error occured
        column - Column number where the error occured