Class HttpResponseException

  • All Implemented Interfaces:
    Serializable

    public class HttpResponseException
    extends com.esri.arcgisruntime.internal.httpclient.client.ClientProtocolException
    Signals a non 2xx HTTP response.
    Since:
    4.0
    See Also:
    Serialized Form
    • Constructor Detail

      • HttpResponseException

        public HttpResponseException​(int statusCode,
                                     String reasonPhrase)
      • HttpResponseException

        public HttpResponseException​(int statusCode,
                                     String reasonPhrase,
                                     byte[] responseData)
    • Method Detail

      • getStatusCode

        public int getStatusCode()
      • getReasonPhrase

        public String getReasonPhrase()
      • getResponseData

        public byte[] getResponseData()
        Gets the response data associated with the exception.
        Returns:
        the response data as a byte array