org.objectweb.dream
Class InitializationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.objectweb.dream.InitializationException
- All Implemented Interfaces:
- Serializable
public class InitializationException
- extends Exception
Exception thrown by AbstractComponent.initComponent()
.
- See Also:
- Serialized Form
InitializationException
public InitializationException(Throwable exception,
Component component,
String message)
- Constructs a new
InitializationException
exception.
- Parameters:
exception
- the cause of this exception. May be null.component
- the component whose life cycle state is illegal.message
- a detailed error message.
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()
- Overrides:
toString
in class Throwable
- See Also:
Throwable.toString()
printStackTrace
public void printStackTrace(PrintStream s)
- Overrides:
printStackTrace
in class Throwable
- See Also:
Throwable.printStackTrace(PrintStream)
Copyright © 2003, 2005 - INRIA Rhone-Alpes - All Rights Reserved.