org.apache.avalon.framework.service
public class ServiceException extends CascadingException
Version: CVS $Revision: 1.19 $ $Date: 2003/02/11 15:58:42 $
Constructor Summary | |
---|---|
ServiceException(String message, Throwable throwable)
Construct a new ServiceException instance.
| |
ServiceException(String key, String message, Throwable throwable)
Construct a new ServiceException instance.
| |
ServiceException(String message)
Construct a new ServiceException instance.
| |
ServiceException(String key, String message)
Construct a new ServiceException instance.
|
Method Summary | |
---|---|
String | getKey()
Return the key that caused the exception. |
String | getMessage()
Override super's message to add role if applicable. |
String | getRole()
Return the role that caused the exception
|
Deprecated: use the String,String,Throwable version instead
Construct a newServiceException
instance.
Parameters: message the exception message throwable the throwable
ServiceException
instance.
Parameters: key the lookup key message the exception message throwable the throwable
Deprecated: use the String,String version instead
Construct a newServiceException
instance.
Parameters: message the exception message
ServiceException
instance.
Parameters: key the lookup key message the exception message
Returns: the lookup key triggering the exception
Returns: a message.
Deprecated: Use getKey() instead
Return the role that caused the exceptionReturns: the the lookup key triggering the exception