|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wm.app.b2b.server.ServerException
com.wm.app.b2b.server.ServiceException
public class ServiceException
This is a general exception thrown when a service fails. When the server throws an exception that does not exist on the client, ServiceException contains the name and text message of the error from the server.
AccessException
,
DeliveryException
,
InvalidRequestException
,
TXException
Constructor Summary | |
---|---|
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. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |