com.aspose.html.dom

Class Error

  • All Implemented Interfaces:
    Serializable
    Direct Known Subclasses:
    DOMException


    public abstract class Error
    extends com.aspose.html.internal.ms.System.Exception

    The Error type corresponds to the set of all possible non-null references to exception objects, including simple exceptions and DOMException.

    See Also:
    Serialized Form
    • Constructor Detail

      • Error

        public Error(String message)

        Initializes a new instance of the Error class.

        Parameters:
        message - The message.
    • Method Detail

      • getName

        public abstract String getName()

        Gets the error name.

        Value: The error name.
      • getMessage

        public String getMessage()

        Gets a message that describes the current exception.

        Overrides:
        getMessage in class Throwable