public class WotsitException extends CougarApplicationException implements Transcribable
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
clientMessage
the client message
|
protected WotsitExceptionErrorCodeEnum |
errorCode
the unique code for this error
|
static Parameter[] |
PARAMETERS |
static ServiceVersion |
SERVICE_VERSION |
protected WotsitExceptionTypeEnum |
type
A The type of wotsit
|
| Constructor and Description |
|---|
WotsitException(ResponseCode responseCode,
WotsitExceptionErrorCodeEnum errorCode,
WotsitExceptionTypeEnum type,
java.lang.String clientMessage) |
WotsitException(java.lang.Throwable cause,
ResponseCode responseCode,
WotsitExceptionErrorCodeEnum errorCode,
WotsitExceptionTypeEnum type,
java.lang.String clientMessage)
Constructor with the cause of the exception (exception chaining)
|
WotsitException(TranscriptionInput in,
java.util.Set<TranscribableParams> _transcriptionParams)
Constructor for reading the Exception from a TranscriptionInput source
|
WotsitException(WotsitExceptionErrorCodeEnum errorCode,
WotsitExceptionTypeEnum type,
java.lang.String clientMessage) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String[]> |
getApplicationFaultMessages() |
java.lang.String |
getApplicationFaultNamespace() |
java.lang.String |
getClientMessage() |
WotsitExceptionErrorCodeEnum |
getErrorCode() |
java.lang.String |
getMessage() |
Parameter[] |
getParameters() |
java.lang.String |
getRawErrorCodeValue() |
java.lang.String |
getRawTypeValue() |
ServiceVersion |
getServiceVersion() |
WotsitExceptionTypeEnum |
getType() |
void |
transcribe(TranscriptionInput in,
java.util.Set<TranscribableParams> params,
boolean client) |
void |
transcribe(TranscriptionOutput out,
java.util.Set<TranscribableParams> _transcriptionParams,
boolean client) |
getExceptionCode, getResponseCodeprotected WotsitExceptionErrorCodeEnum errorCode
protected WotsitExceptionTypeEnum type
protected java.lang.String clientMessage
public static final ServiceVersion SERVICE_VERSION
public static final Parameter[] PARAMETERS
public WotsitException(ResponseCode responseCode, WotsitExceptionErrorCodeEnum errorCode, WotsitExceptionTypeEnum type, java.lang.String clientMessage)
public WotsitException(WotsitExceptionErrorCodeEnum errorCode, WotsitExceptionTypeEnum type, java.lang.String clientMessage)
public WotsitException(TranscriptionInput in, java.util.Set<TranscribableParams> _transcriptionParams) throws java.lang.Exception
in - the TranscriptionInput to read the exception data fromjava.lang.Exceptionpublic WotsitException(java.lang.Throwable cause,
ResponseCode responseCode,
WotsitExceptionErrorCodeEnum errorCode,
WotsitExceptionTypeEnum type,
java.lang.String clientMessage)
cause - the causeThrowable.getCause()public final WotsitExceptionErrorCodeEnum getErrorCode()
public final java.lang.String getRawErrorCodeValue()
public final WotsitExceptionTypeEnum getType()
public final java.lang.String getRawTypeValue()
public final java.lang.String getClientMessage()
public java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic java.util.List<java.lang.String[]> getApplicationFaultMessages()
getApplicationFaultMessages in class CougarApplicationExceptionpublic java.lang.String getApplicationFaultNamespace()
getApplicationFaultNamespace in class CougarApplicationExceptionpublic Parameter[] getParameters()
getParameters in interface Transcribablepublic void transcribe(TranscriptionOutput out, java.util.Set<TranscribableParams> _transcriptionParams, boolean client) throws java.lang.Exception
transcribe in interface Transcribablejava.lang.Exceptionpublic void transcribe(TranscriptionInput in, java.util.Set<TranscribableParams> params, boolean client) throws java.lang.Exception
transcribe in interface Transcribablejava.lang.Exceptionpublic ServiceVersion getServiceVersion()
getServiceVersion in interface TranscribableCopyright © 2009-2014 Betfair. All Rights Reserved.