Class XmlParsingException

    • Constructor Detail

      • XmlParsingException

        public XmlParsingException​(String message,
                                   Exception e)
        Constructs a new XmlParsingException.
        Parameters:
        message - The error message
        e - The cause
      • XmlParsingException

        public XmlParsingException​(String message)
        Constructs a new XmlParsingException.
        Parameters:
        message - The error message
    • Method Detail

      • rememberLocation

        public XmlParsingException rememberLocation​(Locator locator)
        Sets the location (line/column) where the exception occurred.
        Parameters:
        locator - object giving the location (line/column) where the exception occurred
        Returns:
        this
      • getColumnNumber

        public int getColumnNumber()
        Returns the column number where the exception occurred.
        Returns:
        the column number where the exception occurred
      • getLineNumber

        public int getLineNumber()
        Returns the line number where the exception occurred.
        Returns:
        the line number where the exception occurred