Class ExceptionResponse
java.lang.Object
uk.ac.manchester.spinnaker.nmpi.machinemanager.responses.ExceptionResponse
- All Implemented Interfaces:
Response
A response to a request that indicates a failure.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the exception to report.void
setException
(JsonNode exception) Set the exception to report.
-
Constructor Details
-
ExceptionResponse
public ExceptionResponse()
-
-
Method Details
-
getException
Get the exception to report.- Returns:
- The exception
-
setException
Set the exception to report.- Parameters:
exception
- The exception to set
-