aicas logoJamaica 6.4 release 1

java.lang
Class ExceptionInInitializerError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Error
          extended by java.lang.LinkageError
              extended by java.lang.ExceptionInInitializerError
All Implemented Interfaces:
Serializable

public class ExceptionInInitializerError
extends LinkageError

An ExceptionInInitializerError is generated if an unhandled exception occurred in a static initializer of a class.

Since:
1.1
See Also:
Serialized Form

Constructor Summary
ExceptionInInitializerError()
          Constructor for an ExceptionInInitializerError with no detail message.
ExceptionInInitializerError(String s)
          Constructor for an ExceptionInInitializerError with given detail message.
ExceptionInInitializerError(Throwable thrown)
          Constructor for an ExceptionInInitializerError with given cause.
 
Method Summary
 Throwable getCause()
          Get the exception that caused this error.
 Throwable getException()
          Get the exception that caused this error.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExceptionInInitializerError

public ExceptionInInitializerError()
Constructor for an ExceptionInInitializerError with no detail message.


ExceptionInInitializerError

public ExceptionInInitializerError(Throwable thrown)
Constructor for an ExceptionInInitializerError with given cause.

Parameters:
thrown - the exception that occurred.

ExceptionInInitializerError

public ExceptionInInitializerError(String s)
Constructor for an ExceptionInInitializerError with given detail message.

ensures

    (s != null IMPLIES getMessage().equals(s));
 

Parameters:
s - the detail message.
Method Detail

getException

public Throwable getException()
Get the exception that caused this error.

Returns:
the exception that caused this error.

getCause

public Throwable getCause()
Get the exception that caused this error.

Overrides:
getCause in class Throwable
Returns:
the exception that caused this error.
Since:
1.4

aicas logoJamaica 6.4 release 1

aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2015 aicas GmbH. All Rights Reserved.