|
||||||||||
| 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
The exception thrown to indicate a problem with Components. It is usually thrown by ComponentManager or ComponentSelector.
Deprecated:
Use ServiceException instead.
| Constructor Summary | |
ComponentException(String message)
Deprecated. use the String, String version to record the role |
|
ComponentException(String key,
String message)
Construct a new ComponentException instance. |
|
ComponentException(String key,
String message,
Throwable throwable)
Construct a new ComponentException instance. |
|
ComponentException(String message,
Throwable throwable)
Deprecated. use the String, String, Throwable version to record the role |
|
| Method Summary | |
String |
getKey()
Get the key which let to the exception. |
String |
getMessage()
Return a message describing the exception. |
String |
getRole()
Deprecated. Use getKey instead |
| 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(String key,
String message,
Throwable throwable)
ComponentException instance.
key - the lookup keymessage - the exception messagethrowable - the throwable
public ComponentException(String message,
Throwable throwable)
ComponentException instance.
message - the exception messagethrowable - the throwablepublic ComponentException(String message)
ComponentException instance.
message - the exception message
public ComponentException(String key,
String message)
ComponentException instance.
key - the lookup keymessage - the exception message| Method Detail |
public final String getKey()
public final String getRole()
public String getMessage()
getMessage in class Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||