| java.lang.Object | ||
| ↳ | java.lang.Throwable | |
| ↳ | java.lang.Error | |
Known Direct Subclasses
|
Known Indirect Subclasses
AbstractMethodError
,
AssertionFailedError
,
ClassCircularityError
,
ClassFormatError
,
ComparisonFailure
,
ExceptionInInitializerError
,
GenericSignatureFormatError
,
IllegalAccessError
,
IncompatibleClassChangeError
,
InstantiationError
,
InternalError
,
NoClassDefFoundError
,
NoSuchFieldError
,
NoSuchMethodError
,
and
6 others.
|
Error
is the superclass of all classes that represent unrecoverable
errors. When errors are thrown, they should not be caught by application
code.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Constructs a new
Error
that includes the current stack trace.
|
||||||||||
|
|
Constructs a new
Error
with the current stack trace and the
specified detail message.
|
||||||||||
|
|
Constructs a new
Error
with the current stack trace, the
specified detail message and the specified cause.
|
||||||||||
|
|
Constructs a new
Error
with the current stack trace and the
specified cause.
|
||||||||||
|
[Expand]
Inherited Methods
|
|||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Throwable
|
|||||||||||
From class
java.lang.Object
|
|||||||||||
Constructs a new
Error
with the current stack trace and the
specified detail message.
| detailMessage | the detail message for this error. |
|---|
Constructs a new
Error
with the current stack trace, the
specified detail message and the specified cause.
| detailMessage | the detail message for this error. |
|---|---|
| throwable | the cause of this error. |
Constructs a new
Error
with the current stack trace and the
specified cause.
| throwable | the cause of this error. |
|---|