org.apache.abdera.protocol.client
Class RequestException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.abdera.protocol.client.ClientException
                  extended by org.apache.abdera.protocol.client.RequestException
All Implemented Interfaces:
java.io.Serializable

public final class RequestException
extends ClientException

RequestExceptions will be thrown optionally depending on the settings in RequestOptions for 4xx and 5xx responses. This allows client implementations to use proper java error handling when error responses are encountered

See Also:
Serialized Form

Constructor Summary
protected RequestException(ClientResponse response)
           
 
Method Summary
 ClientResponse getClientResponse()
           
 int getStatus()
           
 
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

RequestException

protected RequestException(ClientResponse response)
Method Detail

getClientResponse

public ClientResponse getClientResponse()

getStatus

public int getStatus()