Package org.zkoss.stateless.action.data
Class DOMExceptionData
- java.lang.Object
-
- org.zkoss.stateless.action.data.DOMExceptionData
-
- All Implemented Interfaces:
java.io.Serializable
,ActionData
public class DOMExceptionData extends java.lang.Object implements 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DOMExceptionData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getErrorMessage()
Returns a message or description associated with the given error name.java.lang.String
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
-
-
-
Method Detail
-
getErrorName
public java.lang.String 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
public java.lang.String getErrorMessage()
Returns a message or description associated with the given error name.
-
-