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
.
Constructor and Description |
---|
Error(String message)
Initializes a new instance of the
Error class. |
Modifier and Type | Method and Description |
---|---|
String |
getMessage()
Gets a message that describes the current exception.
|
abstract String |
getName()
Gets the error name.
|
getInnerException, getType, toString
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public abstract String getName()
Gets the error name.
Value: The error name.public String getMessage()
Gets a message that describes the current exception.
getMessage
in class Throwable