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:
java.io.Serializable
public class ResponseException extends java.lang.RuntimeException
An exception wrapped around a failed response.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ResponseException(Response aResponse)
Creates a new ResponseException.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response
getResponse()
Returns the response.int
getResponseCode()
Returns the response code.
-