| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
CascadingExceptionorg.apache.avalon.framework.component.ComponentExceptionpublic class ComponentExceptionextends CascadingExceptionServiceException instead.
Constructor Summary | |
| |
| |
| |
| |
Method Summary | |
String |
|
String |
|
String |
|
public ComponentException(String message)
Deprecated. use the String, String version to record the role
Construct a newComponentExceptioninstance.
- Parameters:
message- the exception message
public ComponentException(String key,
String message)Construct a newComponentExceptioninstance.
- Parameters:
key- the lookup keymessage- the exception message
public ComponentException(String key,
String message,
Throwable throwable)Construct a newComponentExceptioninstance.
- Parameters:
key- the lookup keymessage- the exception messagethrowable- the throwable
public ComponentException(String message,
Throwable throwable)Deprecated. use the String, String, Throwable version to record the role
Construct a newComponentExceptioninstance.
- Parameters:
message- the exception messagethrowable- the throwable
public final String getKey()
Get the key which let to the exception. May be null.
- Returns:
- The key which let to the exception.
public String getMessage()
Return a message describing the exception.
- Returns:
- exception message.
public final String getRole()
Deprecated. Use getKey instead
Get the key which let to the exception. May be null.
- Returns:
- The key which let to the exception.