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