org.objectweb.dream
Class InitializationException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.objectweb.dream.InitializationException
All Implemented Interfaces:
Serializable

public class InitializationException
extends Exception

Exception thrown by AbstractComponent.initComponent(Component).

See Also:
Serialized Form

Constructor Summary
InitializationException(Throwable exception, Component component, String message)
          Constructs a new InitializationExceptionexception.
 
Method Summary
 Component getComponent()
          Returns the component whose life cycle state is illegal.
 Throwable getException()
          Returns the exception that caused in this exception.
 void printStackTrace(PrintStream s)
           
 String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InitializationException

public InitializationException(Throwable exception,
                               Component component,
                               String message)
Constructs a new InitializationExceptionexception.

Parameters:
exception - the cause of this exception. May be null.
component - the component whose life cycle state is illegal.
message - a detailed error message.
Method Detail

getException

public Throwable getException()
Returns the exception that caused in this exception.

Returns:
the exception that caused this exception. May be null.

getComponent

public Component getComponent()
Returns the component whose life cycle state is illegal.

Returns:
the component whose life cycle state is illegal.

toString

public String toString()
See Also:
Throwable.toString()

printStackTrace

public void printStackTrace(PrintStream s)
See Also:
Throwable.printStackTrace(PrintStream)


Copyright © 2003, 2004 - INRIA Rhone-Alpes - All Rights Reserved.