Package org.zkoss.zk.ui.event
Class DOMExceptionEvent
java.lang.Object
org.zkoss.zk.ui.event.Event
org.zkoss.zk.ui.event.DOMExceptionEvent
- All Implemented Interfaces:
Serializable
Represents an event caused by DOMException at client.
Refers to https://developer.mozilla.org/en-US/docs/Web/API/DOMException
- Since:
- 8.6.1
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDOMExceptionEvent(String name, Component target, String errorName, String errorMessage) -
Method Summary
Modifier and TypeMethodDescriptionstatic DOMExceptionEventgetDOMExceptionEvent(AuRequest request) Creates an instance ofDOMExceptionEventbased on the specified request.Returns a message or description associated with the given error name.Returns the error name, to see common error names, please refer to https://developer.mozilla.org/en-US/docs/Web/API/DOMException#Error_namesMethods inherited from class org.zkoss.zk.ui.event.Event
getData, getEvent, getName, getPage, getTarget, isPropagatable, stopPropagation, toString
-
Constructor Details
-
DOMExceptionEvent
-
-
Method Details
-
getDOMExceptionEvent
Creates an instance ofDOMExceptionEventbased on the specified request. -
getErrorName
Returns the error name, to see common error names, please refer to https://developer.mozilla.org/en-US/docs/Web/API/DOMException#Error_names- Returns:
- error name
-
getErrorMessage
Returns a message or description associated with the given error name.- Returns:
- error message
-