Class DOMExceptionEvent

  • All Implemented Interfaces:
    java.io.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:
    Serialized Form
    • Constructor Detail

      • DOMExceptionEvent

        public DOMExceptionEvent​(java.lang.String name,
                                 Component target,
                                 java.lang.String errorName,
                                 java.lang.String errorMessage)
    • 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
        Returns:
        error name
      • getErrorMessage

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