Java java.lang ExceptionInInitializerError fields, constructors, methods, implement or subclass

Example usage for Java java.lang ExceptionInInitializerError fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.lang ExceptionInInitializerError.

The text is from its open source code.

Constructor

ExceptionInInitializerError(Throwable thrown)
Constructs a new ExceptionInInitializerError class by saving a reference to the Throwable object thrown for later retrieval by the #getException() method.
ExceptionInInitializerError(String s)
Constructs an ExceptionInInitializerError with the specified detail message string.
ExceptionInInitializerError()
Constructs an ExceptionInInitializerError with null as its detail message string and with no saved throwable object.

Method

ThrowablefillInStackTrace()
Fills in the execution stack trace.
ThrowablegetCause()
Returns the cause of this throwable or null if the cause is nonexistent or unknown.
ThrowablegetException()
Returns the exception that occurred during a static initialization that caused this error to be created.