Package com.inductiveautomation.snap.web
Class ResponseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.inductiveautomation.snap.web.ResponseException
- All Implemented Interfaces:
 Serializable
An exception wrapped around a failed response.
- See Also:
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionReturns the response.intReturns the response code.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
- 
Constructor Details
- 
ResponseException
Creates a new ResponseException. 
 - 
 - 
Method Details
- 
getResponse
Returns the response. - 
getResponseCode
public int getResponseCode()Returns the response code. 
 -