public DOMException(code as Int = DOMException.NOT_SUPPORTED_ERR, message as String = "DOM exception"):
Creates a DOM exception.
| Parameter | Description |
|---|---|
code | Numeric DOM error code. |
message | Diagnostic message. |
error = DOMException(DOMException.INVALID_CHARACTER_ERR, "Invalid XML name")