org.apache.avalon.framework.component
public class ComponentException extends CascadingException
Deprecated: Use ServiceException instead.
Version: $Id: ComponentException.java 30977 2004-07-30 03:57:54 -0500 (Fri, 30 Jul 2004) niclas $
Field Summary | |
---|---|
String | m_key |
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.