|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.abdera.protocol.client.ClientException
org.apache.abdera.protocol.client.RequestException
public final class RequestException
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
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 |
---|
protected RequestException(ClientResponse response)
Method Detail |
---|
public ClientResponse getClientResponse()
public int getStatus()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |