Build 1.0_r1(from source)

org.apache.http.client
Class HttpResponseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.apache.http.client.ClientProtocolException
                  extended by org.apache.http.client.HttpResponseException
All Implemented Interfaces:
Serializable

public class HttpResponseException
extends ClientProtocolException

Signals a non 2xx HTTP response.

See Also:
Serialized Form

Constructor Summary
HttpResponseException(int statusCode, String s)
           
 
Method Summary
 int getStatusCode()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HttpResponseException

public HttpResponseException(int statusCode,
                             String s)
Method Detail

getStatusCode

public int getStatusCode()

Build 1.0_r1(from source)

Please submit a feedback, bug or feature