Class 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
    • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DOMExceptionData

        public DOMExceptionData()
    • 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.