Package snap.web

Class ResponseException

All Implemented Interfaces:
Serializable

public class ResponseException extends RuntimeException
An exception wrapped around a failed response.
See Also:
  • Constructor Details

    • ResponseException

      public ResponseException(WebResponse aResponse)
      Creates a new ResponseException.
  • Method Details

    • getResponse

      public WebResponse getResponse()
      Returns the response.
    • getResponseCode

      public int getResponseCode()
      Returns the response code.