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):
Creates an error value.
| Parameter | Description |
|---|---|
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. |
error = XMLDOMError(DOMError.SEVERITY_WARNING, "Skipped node")