|
||||||||||
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.shared.JenaException
com.hp.hpl.jena.sparql.ARQException
com.hp.hpl.jena.query.QueryException
com.hp.hpl.jena.sparql.engine.http.QueryExceptionHTTP
public class QueryExceptionHTTP
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 | |
---|---|
QueryExceptionHTTP(int responseCode)
Constructor for QueryExceptionHTTP. |
|
QueryExceptionHTTP(int responseCode,
String responseMessage)
Constructor for QueryExceptionHTTP. |
|
QueryExceptionHTTP(String msg,
Throwable cause)
|
|
QueryExceptionHTTP(Throwable cause)
Constructor for HttpException used for some unexpected execution error. |
Method Summary | |
---|---|
int |
getResponseCode()
The code for the reason for this exception |
String |
getResponseMessage()
The messge for the reason for this exception |
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 QueryExceptionHTTP(int responseCode, String responseMessage)
responseCode
- responseMessage
- public QueryExceptionHTTP(int responseCode)
responseCode
- public QueryExceptionHTTP(Throwable cause)
cause
- public QueryExceptionHTTP(String msg, Throwable cause)
Method Detail |
---|
public int getResponseCode()
public String getResponseMessage()
public String toString()
toString
in class Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |