java.io.SerializableAccessNotConfiguredException, InvalidRequestException, MaxElementsExceededException, NotFoundException, OverDailyLimitException, OverQueryLimitException, RequestDeniedException, UnknownErrorException, ZeroResultsExceptionpublic class ApiException
extends java.lang.Exception
status field returned in any of the Geo API responses.| Modifier | Constructor | Description | 
|---|---|---|
protected  | 
ApiException(java.lang.String message) | 
| Modifier and Type | Method | Description | 
|---|---|---|
static ApiException | 
from(java.lang.String status,
    java.lang.String errorMessage) | 
 Construct the appropriate ApiException from the response. 
 | 
public static ApiException from(java.lang.String status, java.lang.String errorMessage)
status - The status field returned from the APIerrorMessage - The error message returned from the API