Class DOMExceptionEvent

java.lang.Object
org.zkoss.zk.ui.event.Event
org.zkoss.zk.ui.event.DOMExceptionEvent
All Implemented Interfaces:
Serializable

public class DOMExceptionEvent extends Event
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 Details

  • Method Details

    • getDOMExceptionEvent

      public static DOMExceptionEvent getDOMExceptionEvent(AuRequest request)
      Creates an instance of DOMExceptionEvent based on the specified request.
    • 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
      Returns:
      error name
    • getErrorMessage

      public String getErrorMessage()
      Returns a message or description associated with the given error name.
      Returns:
      error message