public class AGErrorHandler extends AGResponseHandler
Modifier and Type | Field and Description |
---|---|
static String |
IO_EXCEPTION |
static String |
MALFORMED_DATA |
static String |
MALFORMED_QUERY |
static String |
PRECONDITION_FAILED |
static String |
QUERY_TIMEOUT |
static String |
UNSUPPORTED_FILE_FORMAT |
static String |
UNSUPPORTED_QUERY_LANGUAGE |
Constructor and Description |
---|
AGErrorHandler() |
Modifier and Type | Method and Description |
---|---|
AGHttpException |
getResult() |
void |
handleResponse(org.apache.http.HttpResponse httpResponse,
org.apache.http.client.methods.HttpUriRequest httpUriRequest) |
getRequestMIMEType, releaseConnection
public static final String MALFORMED_QUERY
public static final String MALFORMED_DATA
public static final String UNSUPPORTED_QUERY_LANGUAGE
public static final String UNSUPPORTED_FILE_FORMAT
public static final String PRECONDITION_FAILED
public static final String IO_EXCEPTION
public static final String QUERY_TIMEOUT
public void handleResponse(org.apache.http.HttpResponse httpResponse, org.apache.http.client.methods.HttpUriRequest httpUriRequest) throws IOException, AGHttpException
handleResponse
in class AGResponseHandler
IOException
AGHttpException
public AGHttpException getResult()
Copyright © 2024 Franz Inc.. All rights reserved.