|
||||||||||
| 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
com.hp.hpl.jena.joseki.JosekiException
com.hp.hpl.jena.joseki.HttpException
Exception class for all operations in the Joseki client library. Error codes are as HTTP statsus codes.
| Field Summary | |
static int |
noResponseCode
|
static int |
NoServer
|
| Constructor Summary | |
HttpException(int responseCode)
Constructor for HttpException. |
|
HttpException(int responseCode,
java.lang.String responseMessage)
Constructor for HttpException. |
|
HttpException(java.lang.String msg,
java.lang.Throwable cause)
|
|
HttpException(java.lang.Throwable cause)
Constructor for HttpException used for some unexpected execution error. |
|
| Method Summary | |
int |
getResponseCode()
The code for the reason for this exception |
java.lang.String |
getResponseMessage()
The messge for the reason for this exception |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int noResponseCode
public static final int NoServer
| Constructor Detail |
public HttpException(int responseCode,
java.lang.String responseMessage)
responseCode - responseMessage - public HttpException(int responseCode)
responseCode - public HttpException(java.lang.Throwable cause)
cause -
public HttpException(java.lang.String msg,
java.lang.Throwable cause)
| Method Detail |
public int getResponseCode()
public java.lang.String getResponseMessage()
public java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||