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