public class ServiceException extends LocalizedException
Constructor and Description |
---|
ServiceException()
Constructs a ServiceException without a detailed error message.
|
ServiceException(java.lang.Class bundleClass,
java.lang.String bundleKey,
java.lang.String sourceId)
Constructs a ServiceException using the specified parameters as input.
|
ServiceException(java.lang.Class bundleClass,
java.lang.String bundleKey,
java.lang.String sourceId,
java.lang.Object[] subs)
Constructs a ServiceException using the specified parameters as input.
|
ServiceException(java.lang.Class bundleClass,
java.lang.String bundleKey,
java.lang.String sourceId,
java.lang.String parameter)
Constructs a ServiceException using the specified parameters as input.
|
ServiceException(java.lang.Class bundleClass,
java.lang.String bundleKey,
java.lang.String sourceId,
java.lang.Throwable t,
java.lang.Object[] subs)
Constructs a ServiceException using the specified parameters as input.
|
ServiceException(java.lang.String msg)
Constructs a ServiceException with the specified message.
|
ServiceException(java.lang.Throwable t)
Constructs an ServiceException using the specified Throwable object as input.
|
getErrorDetails, getLocalizedMessage, getLocalizedMessage, getMessage, getMsgId, getMsgOnly, getMsgOnly, getWrappedException, setErrorDetails
public ServiceException()
public ServiceException(java.lang.String msg)
msg
- A String specifying the detailed error message for this ServiceException.public ServiceException(java.lang.Throwable t)
t
- A Throwable object that contains error information.public ServiceException(java.lang.Class bundleClass, java.lang.String bundleKey, java.lang.String sourceId, java.lang.String parameter)
bundleClass
- A Class representing the resource bundle class. For example, AccessExceptionBundle.class.bundleKey
- A String specifying the identifier used to map to a particular message or message set that is contained in the resource bundle.sourceId
- A String specifying a sourceId for this AccessException. sourceId can be null.parameter
- A String specifying a substitution value.public ServiceException(java.lang.Class bundleClass, java.lang.String bundleKey, java.lang.String sourceId)
bundleClass
- A Class representing the resource bundle class. For example, AccessExceptionBundle.class.bundleKey
- A String specifying the identifier used to map to a particular message or message set that is contained in the resource bundle.sourceId
- A String specifying a sourceId for this AccessException. sourceId can be null.public ServiceException(java.lang.Class bundleClass, java.lang.String bundleKey, java.lang.String sourceId, java.lang.Object[] subs)
bundleClass
- A Class representing the resource bundle class. For example, AccessExceptionBundle.class.bundleKey
- A String specifying the identifier used to map to a particular message or message set that is contained in the resource bundle.sourceId
- A String specifying a sourceId for this AccessException. sourceId can be null.subs
- An Object array containing substitution values that correspond to a the exception. subs can be null.public ServiceException(java.lang.Class bundleClass, java.lang.String bundleKey, java.lang.String sourceId, java.lang.Throwable t, java.lang.Object[] subs)
bundleClass
- A Class representing the resource bundle class. For example, AccessExceptionBundle.class.bundleKey
- A String specifying the identifier used to map to a particular message or message set that is contained in the resource bundle.sourceId
- A String specifying a sourceId for this AccessException. sourceId can be null.t
- A Throwable object that contains error information.subs
- An Object array containing substitution values that correspond to a the exception. subs can be null.