public class ServerExecutionEventResponseException extends RQLResponseException
ServerExecutionEventResponse
.Constructor and Description |
---|
ServerExecutionEventResponseException(java.lang.String message,
ServerExecutionEventResponse response)
Constructs a new
ServerExecutionEventResponseException with the specified
detail message and RQLResponse . |
ServerExecutionEventResponseException(java.lang.String message,
ServerExecutionEventResponse response,
RQLRequest request,
java.util.List<RQLResponse> responses)
Constructs a new
ServerExecutionEventResponseException with the specified
detail message, RQLResponse and execution details. |
Modifier and Type | Method and Description |
---|---|
ServerExecutionEventResponse |
getServerExecutionEventResponse()
Returns the
ServerExecutionEventResponse that triggered this exception. |
getRQLResponse
getRQLRequest, getRQLResponses, initRQLConstructs
public ServerExecutionEventResponseException(java.lang.String message, ServerExecutionEventResponse response)
ServerExecutionEventResponseException
with the specified
detail message and RQLResponse
.message
- the detail message. The detail message is saved for
later retrieval by the Throwable.getMessage()
method.response
- the RQLResponse
that triggered the exception. It must not
be null
public ServerExecutionEventResponseException(java.lang.String message, ServerExecutionEventResponse response, RQLRequest request, java.util.List<RQLResponse> responses)
ServerExecutionEventResponseException
with the specified
detail message, RQLResponse
and execution details.message
- the detail message (which is saved for later retrieval
by the Throwable.getMessage()
method).response
- the RQLResponse
that triggered the exception. It must not
be null
.request
- the RQLRequest
that failed.responses
- a list of RQLResponse
s generated by an
RQLEngine
in response to the request
.public ServerExecutionEventResponse getServerExecutionEventResponse()
ServerExecutionEventResponse
that triggered this exception.
This is the same object as returned by a call to the getRQLResponse
method,
except it is cast to the correct type.ServerExecutionEventResponse
that triggered this exception.RoboSuite Java API, v11.4.7880