public class ServiceException
extends java.lang.Exception
| Constructor and Description |
|---|
ServiceException(java.lang.String message)
Instantiates a new service exception.
|
ServiceException(java.lang.String message,
java.lang.Throwable cause,
java.lang.String requestBody)
Instantiates a new service exception.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFaultCode()
Gets the fault code.
|
java.lang.String |
getFaultString()
Gets the fault string.
|
int |
getLine()
Gets the line.
|
java.lang.String |
getMessage() |
int |
getPosition()
Gets the position.
|
java.lang.String |
getRequestBody()
Gets the request body.
|
java.lang.String |
getResponseCode()
Gets the response code.
|
ServerVersionInfo |
getServerVersionInfo()
Gets the server version info.
|
java.lang.String |
getXmlMessage()
Gets the xml message.
|
java.lang.String |
toString() |
public ServiceException(java.lang.String message)
message - the messagepublic ServiceException(java.lang.String message,
java.lang.Throwable cause,
java.lang.String requestBody)
message - the messagecause - the causerequestBody - the request bodypublic java.lang.String toString()
toString in class java.lang.Throwablepublic java.lang.String getFaultCode()
public java.lang.String getFaultString()
public java.lang.String getResponseCode()
public java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic java.lang.String getXmlMessage()
public int getLine()
public int getPosition()
public java.lang.String getRequestBody()
public ServerVersionInfo getServerVersionInfo()