Class ExceptionResponse
java.lang.Object
uk.ac.manchester.spinnaker.nmpi.machinemanager.responses.ExceptionResponse
- All Implemented Interfaces:
Response
public class ExceptionResponse extends Object implements Response
A response to a request that indicates a failure.
-
Constructor Summary
Constructors Constructor Description ExceptionResponse()
-
Method Summary
Modifier and Type Method Description String
getException()
Get 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
-