API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.lang. ExceptionInInitializerError View Source
Author(s)
Frank Yellin
Since
JDK1.1
Version
1.18, 11/17/05
Serial
Hierarchy
 Object
      Throwable
          Error
              LinkageError
                  ExceptionInInitializerError
Implements
Subclasses
Description
public error ExceptionInInitializerError
  Signals that an unexpected exception has occurred in a static initializer.
See also:   
Constructors
public ExceptionInInitializerError ()
  Constructs an ExceptionInInitializerError with null as its detail message string and with no saved throwable object.
public ExceptionInInitializerError (String s)
  Constructs an ExceptionInInitializerError with the specified detail message string.
public ExceptionInInitializerError (Throwable thrown)
  Constructs a new ExceptionInInitializerError class by saving a reference to the Throwable object thrown for later retrieval by the ExceptionInInitializerError.getException() method.
Methods
Hide/Show inherited methods
publicsynchronizednative Throwable fillInStackTrace () [Inherited From Throwable]
  Fills in the execution stack trace.
public Throwable getCause () [Overrides Throwable]
  Returns the cause of this error (the exception that occurred during a static initialization that caused this error to be created).
public Throwable getException ()
  Returns the exception that occurred during a static initialization that caused this error to be created.
public String getLocalizedMessage () [Inherited From Throwable]
  Creates a localized description of this throwable.
public String getMessage () [Inherited From Throwable]
  Returns the detail message string of this throwable.
public StackTraceElement getStackTrace () [Inherited From Throwable]
  Provides programmatic access to the stack trace information printed by Throwable.printStackTrace().
publicsynchronized Throwable initCause (Throwable cause) [Inherited From Throwable]
  Initializes the cause of this throwable to the specified value.
public void printStackTrace () [Inherited From Throwable]
  Prints this throwable and its backtrace to the standard error stream.
public void printStackTrace (PrintStream s) [Inherited From Throwable]
  Prints this throwable and its backtrace to the specified print stream.
public void printStackTrace (PrintWriter s) [Inherited From Throwable]
  Prints this throwable and its backtrace to the specified print writer.
public void setStackTrace (StackTraceElement stackTrace) [Inherited From Throwable]
  Sets the stack trace elements that will be returned by Throwable.getStackTrace() and printed by Throwable.printStackTrace() and related methods.
public String toString () [Inherited From Throwable]
  Returns a short description of this throwable.
Fields
Hide/Show inherited fields
pack-privatefinalstatic long serialVersionUID = "4980196508277280342" [Inherited From Error]
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar