Class UnexpectedHttpResponseException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.broadinstitute.http.nio.UnexpectedHttpResponseException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
IncompatibleResponseToRangeQueryException

public class UnexpectedHttpResponseException extends IOException
thrown when we recieve an unexpected response code from an http request which is not otherwise specially handled
See Also:
  • Field Details

    • responseCode

      private final int responseCode
      http response code
  • Constructor Details

    • UnexpectedHttpResponseException

      public UnexpectedHttpResponseException(int responseCode, String msg)
      Parameters:
      responseCode - the http response code recieved
      msg - human readable error message
  • Method Details

    • getResponseCode

      public int getResponseCode()
      Returns:
      the http response code