Class DOMExceptionData

java.lang.Object
org.zkoss.stateless.action.data.DOMExceptionData
All Implemented Interfaces:
Serializable, ActionData

public class DOMExceptionData extends 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:
  • Constructor Details

    • DOMExceptionData

      public DOMExceptionData()
  • Method Details

    • getErrorName

      public 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 String getErrorMessage()
      Returns a message or description associated with the given error name.