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
  • code Numeric DOM error code.
  • message Diagnostic message.
Example
error = DOMException(DOMException.INVALID_CHARACTER_ERR, "Invalid XML name")