| java.lang.Object | ||
| ↳ | java.lang.Throwable | |
| ↳ | java.lang.Error | |
Known Direct Subclasses
|
Error is the superclass of all classes that represent unrecoverable
errors. When errors are thrown, they should not be caught by application
code.
See also:
| 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.
| Parameters | |
|---|---|
detailMessage |
String:
the detail message for this error.
|
Constructs a new Error with the current stack trace, the
specified detail message and the specified cause.
| Parameters | |
|---|---|
detailMessage |
String:
the detail message for this error. |
throwable |
Throwable:
the cause of this error.
|
Constructs a new Error with the current stack trace and the
specified cause.
| Parameters | |
|---|---|
throwable |
Throwable:
the cause of this error.
|