java.lang.ExceptionInInitializerError
This error is thrown when an exception occurs during class initialization.
Summary
Public Constructors
Public Methods
fillInStackTrace,
getCause,
getLocalizedMessage,
getMessage,
getStackTrace,
initCause,
printStackTrace,
printStackTrace,
printStackTrace,
setStackTrace,
toString
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Public Constructors
public
ExceptionInInitializerError()
Constructs a new instance of this class with its walkback filled in.
public
ExceptionInInitializerError(String detailMessage)
Constructs a new instance of this class with its walkback and message
filled in.
Parameters
detailMessage
| String The detail message for the exception.
|
public
ExceptionInInitializerError(Throwable exception)
Constructs a new instance of this class with its walkback and exception
filled in. The exception should be the one which originally occurred in
the class initialization code.
Parameters
exception
| Throwable The exception which caused the problem.
|
Public Methods
Returns the cause of this Throwable, or null if there is no cause.
Returns
- Throwable The receiver's cause.
public
Throwable
getException()
Returns the exception which was passed in when the instance was created.