Package snap.web
Class ResponseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
snap.web.ResponseException
- All Implemented Interfaces:
Serializable
An exception wrapped around a failed response.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the response.int
Returns 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.
-