Package org.zkoss.stateless.action.data
Class DOMExceptionData
java.lang.Object
org.zkoss.stateless.action.data.DOMExceptionData
- All Implemented Interfaces:
Serializable,ActionData
Represents an action caused by DOMException at client.
Refers to https://developer.mozilla.org/en-US/docs/Web/API/DOMException
- Author:
- jumperchen
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns 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_names
-
Constructor Details
-
DOMExceptionData
public DOMExceptionData()
-
-
Method Details
-
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 -
getErrorMessage
Returns a message or description associated with the given error name.
-