org.w3c.dom.DOMException.DOMException
constructor
public DOMException(code as Int = DOMException.NOT_SUPPORTED_ERR, message as String = "DOM exception"):
Description

Creates a DOM exception.

Parameters
ParameterDescription
codeNumeric DOM error code.
messageDiagnostic message.
Example
error = DOMException(DOMException.INVALID_CHARACTER_ERR, "Invalid XML name")