org.xml.sax.SAXParseException.SAXParseException
constructor
public SAXParseException(message as String, publicId as String, systemId as String, lineNumber as Int, columnNumber as Int, exception as Exception):
Description

Creates a parse exception from explicit location values and cause.

Parameters
  • message Error or warning message.
  • publicId Public identifier, or `null`.
  • systemId System identifier, or `null`.
  • lineNumber One-based line number, or `-1`.
  • columnNumber One-based column number, or `-1`.
  • exception Embedded exception.
Example
error = SAXParseException("Invalid XML", null, "file:/doc.xml", 3, 17, cause)