com.aspose.html.dom

Class Error

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


    public abstract class Error
    extends com.aspose.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 Summary

      Constructors 
      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 com.aspose.ms.System.Exception

        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.

        Parameters:
        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.

        Overrides:
        getMessage in class java.lang.Throwable