klyn.io.xml.dom.XMLDOMError.XMLDOMError
constructor
public XMLDOMError(severity as Int = DOMError.SEVERITY_ERROR, message as String = "", type as String = "", relatedException as Object = null, relatedData as Object = null, location as DOMLocator = null):
Description

Creates an error value.

Parameters
  • severity DOMError severity constant.
  • message Human-readable message.
  • type Implementation-defined error type.
  • relatedException Related exception, if any.
  • relatedData Related data, if any.
  • location Error location, if known.
Example
error = XMLDOMError(DOMError.SEVERITY_WARNING, "Skipped node")