|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--org.apache.avalon.framework.CascadingException | +--org.apache.avalon.framework.component.ComponentException
ServiceException
instead.
The exception thrown to indicate a problem with Components. It is usually thrown by ComponentManager or ComponentSelector.
Constructor Summary | |
ComponentException(java.lang.String message)
Deprecated. use the String, String version to record the role |
|
ComponentException(java.lang.String role,
java.lang.String message)
Deprecated. Construct a new ComponentException instance. |
|
ComponentException(java.lang.String role,
java.lang.String message,
java.lang.Throwable throwable)
Deprecated. Construct a new ComponentException instance. |
|
ComponentException(java.lang.String message,
java.lang.Throwable throwable)
Deprecated. use the String, String, Throwable version to record the role |
Method Summary | |
java.lang.String |
getMessage()
Deprecated. Return a message describing the exception. |
java.lang.String |
getRole()
Deprecated. Get the role which let to the exception. |
Methods inherited from class org.apache.avalon.framework.CascadingException |
getCause |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, 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 |
public ComponentException(java.lang.String role, java.lang.String message, java.lang.Throwable throwable)
ComponentException
instance.
message
- the exception messagethrowable
- the throwablepublic ComponentException(java.lang.String message, java.lang.Throwable throwable)
ComponentException
instance.
message
- the exception messagethrowable
- the throwablepublic ComponentException(java.lang.String message)
ComponentException
instance.
message
- the exception messagepublic ComponentException(java.lang.String role, java.lang.String message)
ComponentException
instance.
message
- the exception messageMethod Detail |
public final java.lang.String getRole()
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |