|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Error
java.lang.LinkageError
java.lang.ExceptionInInitializerError
public class ExceptionInInitializerError
An ExceptionInInitializerError is generated if an unhandled exception occurred in a static initializer of a class.
Constructor Summary | |
---|---|
ExceptionInInitializerError()
Constructor for an ExceptionInInitializerError with no detail message. |
|
ExceptionInInitializerError(String s)
Constructor for an ExceptionInInitializerError with given detail message. |
|
ExceptionInInitializerError(Throwable thrown)
Constructor for an ExceptionInInitializerError with given cause. |
Method Summary | |
---|---|
Throwable |
getCause()
Get the exception that caused this error. |
Throwable |
getException()
Get the exception that caused this error. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ExceptionInInitializerError()
public ExceptionInInitializerError(Throwable thrown)
thrown
- the exception that occurred.public ExceptionInInitializerError(String s)
ensures
(s != null IMPLIES getMessage().equals(s));
s
- the detail message.Method Detail |
---|
public Throwable getException()
public Throwable getCause()
getCause
in class Throwable
|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |