Class ResponseException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.inductiveautomation.snap.web.ResponseException
All Implemented Interfaces:
Serializable

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

    • ResponseException

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

    • getResponse

      public Response getResponse()
      Returns the response.
    • getResponseCode

      public int getResponseCode()
      Returns the response code.