java.lang.ExceptionInInitializerError
java.lang.LinkageError
None
None
New as of JDK 1.1
A ExceptionInInitializerError is thrown when an unexpected exception has been thrown in a static initializer.
public class java.lang.ExceptionInInitializer extends java.lang.LinkageError { // Constructors public ExceptionInInitializerError(); public ExceptionInInitializerError(Throwable thrown); public ExceptionInInitializerError(String s); // Instance Methods public Throwable getException(); }
This constructor creates an ExceptionInInitializerError with no associated detail message.
The exception that was thrown in the static initializer.
This constructor creates an ExceptionInInitializerError that refers to the specified exception.
The detail message.
This constructor creates an ExceptionInInitializerError with the specified detail message.
The exception object that was thrown in the static initializer.
This methods returns the exception that caused this error to be thrown.
Method |
Inherited From |
Method |
Inherited From |
---|---|---|---|
clone() |
Object |
equals(Object) |
Object |
fillInStackTrace() |
Throwable |
finalize() |
Object |
getClass() |
Object |
getLocalizedMessage() |
Throwable |
getMessage() |
Throwable |
hashCode() |
Object |
notify() |
Object |
notifyAll() |
Object |
printStackTrace() |
Throwable |
printStackTrace(PrintStream) |
Throwable |
printStackTrace(PrintWriter) |
Throwable |
toString() |
Object |
wait() |
Object |
wait(long) |
Object |
wait(long, int) |
Object |
Error, LinkageError, Throwable