Class java.lang.ExceptionInInitializerError
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.lang.ExceptionInInitializerError

Object
   |
   +----Throwable
           |
           +----Error
                   |
                   +----LinkageError
                           |
                           +----java.lang.ExceptionInInitializerError

public class ExceptionInInitializerError
extends LinkageError
Signals that an unexpected exception has occurred in a static initializer.

Version:
1.3, 07/01/98
Author:
Frank Yellin
Since:
JDK1.1

Constructor Index

 o java.lang.ExceptionInInitializerError()
Constructs an ExceptionInInitializerError with no detail message.
 o java.lang.ExceptionInInitializerError(Throwable)
Constructs a new ExceptionInInitializerError class initialized to the specific throwable
 o java.lang.ExceptionInInitializerError(String)
Constructs a ExceptionInInitializerError with the specified detail message.

Method Index

 o getException()
Returns the exception that occurred during a static initialization that caused this Error to be created.

Constructors

 o ExceptionInInitializerError
public ExceptionInInitializerError()
Constructs an ExceptionInInitializerError with no detail message. A detail message is a String that describes this particular exception.

Since:
JDK1.1
 o ExceptionInInitializerError
public ExceptionInInitializerError(Throwable thrown)
Constructs a new ExceptionInInitializerError class initialized to the specific throwable

Parameters:
thrown - The exception thrown
Since:
JDK1.1
 o ExceptionInInitializerError
public ExceptionInInitializerError(String s)
Constructs a ExceptionInInitializerError with the specified detail message. A detail message is a String that describes this particular exception.

Parameters:
s - the detail message
Since:
JDK1.1

Methods

 o getException
public java.lang.Throwable getException()
Returns the exception that occurred during a static initialization that caused this Error to be created.


All Packages  Class Hierarchy  This Package  Previous  Next  Index