| java.lang.Object | ||||
| ↳ | java.lang.Throwable | |||
| ↳ | java.lang.Error | |||
| ↳ | java.lang.LinkageError | |||
| ↳ | java.lang.ExceptionInInitializerError | |||
Thrown when an exception occurs during class initialization.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new
ExceptionInInitializerError that includes the
current stack trace.
| |||||||||||
Constructs a new
ExceptionInInitializerError with the current
stack trace and the specified detail message.
| |||||||||||
Constructs a new
ExceptionInInitializerError with the current
stack trace and the specified cause.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the cause of this error, or
null if there is no cause.
| |||||||||||
Returns the exception that is the cause of this error.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
| |||||||||||
|
| |||||||||||
Constructs a new ExceptionInInitializerError that includes the
current stack trace.
Constructs a new ExceptionInInitializerError with the current
stack trace and the specified detail message.
| Parameters | |
|---|---|
detailMessage |
String:
the detail message for this error.
|
Constructs a new ExceptionInInitializerError with the current
stack trace and the specified cause. The exception should be the one
which originally occurred in the class initialization code.
| Parameters | |
|---|---|
exception |
Throwable:
the exception that caused this error.
|
Returns the cause of this error, or null if there is no cause.
| Returns | |
|---|---|
Throwable |
the exception that caused this error. |
Returns the exception that is the cause of this error.
| Returns | |
|---|---|
Throwable |
the exception that caused this error. |