@Exported public class ServiceException extends IdcClientException
Constructor and Description |
---|
ServiceException(DataBinder binder)
Deprecated.
DataBinder is not a serializable object.
|
ServiceException(String message,
HdaBinderSerializer serializer,
String response) |
ServiceException(String message,
HdaBinderSerializer serializer,
String response,
Throwable cause) |
ServiceException(Throwable cause,
DataBinder binder)
Deprecated.
DataBinder is not a serializable object
|
Modifier and Type | Method and Description |
---|---|
DataBinder |
getBinder() |
int |
getStatusCode() |
String |
getStatusMessage() |
getLocaleMessage, getMessage
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ServiceException(String message, HdaBinderSerializer serializer, String response, Throwable cause)
message
- Usually this is from binder.getLocal ("StatusMessage")serializer
- Serializer used when you parsed the binderresponse
- Response HDA string from the content servercause
- to nest exceptionspublic ServiceException(String message, HdaBinderSerializer serializer, String response)
message
- Usually this is from binder.getLocal ("StatusMessage")serializer
- Serializer used when you parsed the binderresponse
- Response HDA string from the content serverpublic ServiceException(Throwable cause, DataBinder binder)
cause
- the causebinder
- the data binderpublic ServiceException(DataBinder binder)
binder
- the data binderpublic DataBinder getBinder()
public int getStatusCode()
public String getStatusMessage()