Class Error

  • java.lang.Object
    • java.lang.Throwable
      • java.lang.Exception
        • java.lang.RuntimeException
            • com.aspose.html.dom.Error
  • All Implemented Interfaces:

    public abstract class Error

    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 Summary

      Constructor and Description
      Error(java.lang.String message)
      Initializes a new instance of the Error class.
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getMessage()
      Gets a message that describes the current exception.
      abstract java.lang.String getName()
      Gets the error name.
      • Methods inherited from class

        getHResult, getInnerException, getType, setErrorCode, setHResult, toString
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

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

      • Error

        public Error(java.lang.String message)

        Initializes a new instance of the Error class.

        message - The message.
    • Method Detail

      • getName

        public abstract java.lang.String getName()

        Gets the error name.

        Value: The error name.
      • getMessage

        public java.lang.String getMessage()

        Gets a message that describes the current exception.

        getMessage in class java.lang.Throwable