Class SpallocClient.SpallocException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
uk.ac.manchester.spinnaker.alloc.client.SpallocClient.SpallocException
- All Implemented Interfaces:
 Serializable
- Enclosing interface:
 - SpallocClient
 
Exception caused by the server sending an error.
- See Also:
 
- 
Constructor Summary
Constructors - 
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
- 
Constructor Details
- 
SpallocException
Create an instance.- Parameters:
 message- The message body of the error.responseCode- The HTTP response code that triggered the exception.
 
 - 
 - 
Method Details
- 
getResponseCode
public int getResponseCode()- Returns:
 - The HTTP response code that triggered the exception.
 
 
 -