message = methodResult.getMessage();
}
else
{
// Error deserializing client message.
methodResult = new SerializationException();
methodResult.setMessage(REQUEST_ERROR);
methodResult.setRootCause(t);
message = methodResult.getMessage();
}
responseBody.setData(methodResult.createErrorMessage());