public abstract class Response extends Operation
Operation.Type| Constructor and Description |
|---|
Response(Operation.Type value) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getErrorCode() |
String |
getErrorMessage() |
void |
setErrorCode(Integer value) |
void |
setErrorMessage(String value) |
String |
toString() |
void |
validate()
Validates the operation whether it contains all required properties
per the SXMP protocol specifications.
|
getReferenceId, getTicketId, getType, getVersion, isRequest, isResponse, setReferenceId, setTicketIdpublic Response(Operation.Type value)
public void setErrorCode(Integer value)
public Integer getErrorCode()
public void setErrorMessage(String value)
public String getErrorMessage()
public void validate()
throws SxmpErrorException
Operationvalidate in class OperationSxmpErrorException - Thrown if any required elements are missing.Copyright © 2016. All rights reserved.