org.apache.avalon.framework.component
public class ComponentException extends CascadingException
Deprecated: Use {@link org.apache.avalon.framework.service.ServiceException} instead.
Version: CVS $Revision: 1.20 $ $Date: 2003/02/11 15:58:38 $
Constructor Summary | |
---|---|
ComponentException(String key, String message, Throwable throwable)
Construct a new ComponentException instance. | |
ComponentException(String message, Throwable throwable)
Construct a new ComponentException instance.
| |
ComponentException(String message)
Construct a new ComponentException instance.
| |
ComponentException(String key, String message)
Construct a new ComponentException instance. |
Method Summary | |
---|---|
String | getKey()
Get the key which let to the exception. |
String | getMessage()
Return a message describing the exception.
|
String | getRole()
Get the key which let to the exception. |
ComponentException
instance.Parameters: key the lookup key message the exception message throwable the throwable
Deprecated: use the String, String, Throwable version to record the role
Construct a newComponentException
instance.
Parameters: message the exception message throwable the throwable
Deprecated: use the String, String version to record the role
Construct a newComponentException
instance.
Parameters: message the exception message
ComponentException
instance.Parameters: key the lookup key message the exception message
Returns: The key which let to the exception.
Returns: exception message.
Deprecated: Use getKey instead
Get the key which let to the exception. May be null.Returns: The key which let to the exception.