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