|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.objectweb.fractal.api.factory.InstantiationException
org.objectweb.fractal.julia.factory.ChainedInstantiationException
A sub class of the InstantiationException
class.
Constructor Summary | |
ChainedInstantiationException(Throwable exception,
Component factory,
String message)
Constructs a new ChainedInstantiationException exception. |
Method Summary | |
Throwable |
getException()
Returns the exception that caused in this exception. |
Component |
getFactory()
Returns the factory component that cannot be instantiated. |
void |
printStackTrace()
Prints the stack backtrace. |
void |
printStackTrace(PrintStream s)
Prints this exception and its backtrace to the specified print stream. |
void |
printStackTrace(PrintWriter s)
Prints this exception and its backtrace to the specified print writer. |
String |
toString()
Returns a String representation of this exception. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ChainedInstantiationException(Throwable exception, Component factory, String message)
ChainedInstantiationException
exception.
exception
- the cause of this exception. May be null.factory
- the factory component that cannot be instantiated. May be
null.message
- a detailed error message.Method Detail |
public Throwable getException()
public Component getFactory()
public String toString()
public void printStackTrace()
public void printStackTrace(PrintStream s)
s
- PrintStream to use for output.public void printStackTrace(PrintWriter s)
s
- PrintWriter to use for output.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |