public class QueryExceptionHTTP extends QueryException
Modifier and Type | Field and Description |
---|---|
static int |
noResponseCode |
static int |
NoServer |
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
int |
getResponseCode()
The code for the reason for this exception
|
String |
getResponseMessage()
The messge for the reason for this exception
|
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public static final int noResponseCode
public static final int NoServer
public QueryExceptionHTTP(int responseCode, String responseMessage)
responseCode
- responseMessage
- public QueryExceptionHTTP(int responseCode)
responseCode
- public QueryExceptionHTTP(Throwable cause)
cause
- public int getResponseCode()
public String getResponseMessage()
Licenced under the Apache License, Version 2.0