public class RobotErrorResponseException extends RQLResponseException
RobotErrorResponse has raised an exception.
Whether robot errors like this should cause an exception to be raised, or
if we continue executing the robot, is determined by the RQLHandler.| Constructor and Description |
|---|
RobotErrorResponseException(RobotErrorResponse robotErrorResponse)
Constructs a new
RobotErrorResponseException with the specified detail message. |
RobotErrorResponseException(RobotErrorResponse robotErrorResponse,
RQLRequest request,
java.util.List<RQLResponse> responses)
Constructs a new
RobotErrorResponseException with the specified detail message,
and execution details. |
| Modifier and Type | Method and Description |
|---|---|
RobotErrorResponse |
getRobotErrorResponse()
Returns the
RobotErrorResponse object that generated this exception. |
getRQLResponsegetRQLRequest, getRQLResponses, initRQLConstructspublic RobotErrorResponseException(RobotErrorResponse robotErrorResponse)
RobotErrorResponseException with the specified detail message.robotErrorResponse - the RobotErrorResponse.public RobotErrorResponseException(RobotErrorResponse robotErrorResponse, RQLRequest request, java.util.List<RQLResponse> responses)
RobotErrorResponseException with the specified detail message,
and execution details.robotErrorResponse - the RobotErrorResponse.request - the RQLRequest that failed.responses - a list of RQLResponses generated by an
RQLEngine in response to the request.public RobotErrorResponse getRobotErrorResponse()
RobotErrorResponse object that generated this exception.
This is the same object as returned by a call to the getRQLResponse method,
except it is cast to the correct type.RobotErrorResponse object that generated this exception.RoboSuite Java API, v9.7.7763