类的使用
ai.nextbillion.maps.errors.ApiException
| 程序包 | 说明 |
|---|---|
| ai.nextbillion.maps | |
| ai.nextbillion.maps.errors | |
| ai.nextbillion.maps.internal |
-
ai.nextbillion.maps中ApiException的使用
返回ApiException的ai.nextbillion.maps中的方法 修饰符和类型 方法 说明 ApiExceptionDirectionsApi.Response. getError()ApiExceptionDirectionsTableApi.Response. getError()ApiExceptionDistanceMatrixApi.Response. getError()ApiExceptionFindPlaceFromTextRequest.Response. getError()ApiExceptionGeocodingApi.Response. getError()ApiExceptionGeolocationApi.Response. getError()ApiExceptionImageResult.Response. getError()ApiExceptionNearbySearchRequest.Response. getError()ApiExceptionPlaceAutocompleteRequest.Response. getError()ApiExceptionQueryAutocompleteRequest.Response. getError()ApiExceptionRoadsApi.RoadsResponse. getError()ApiExceptionTextSearchRequest.Response. getError()类型变量类型为ApiException的ai.nextbillion.maps中的方法参数 修饰符和类型 方法 说明 GeoApiContext.BuilderGeoApiContext.Builder. setIfExceptionIsAllowedToRetry(java.lang.Class<? extends ApiException> exception, boolean allowedToRetry)Allows specific API exceptions to be retried or not retried.抛出ApiException的ai.nextbillion.maps中的方法 修饰符和类型 方法 说明 TPendingResult. await()Performs the request synchronously. -
ai.nextbillion.maps.errors中ApiException的使用
ai.nextbillion.maps.errors中ApiException的子类 修饰符和类型 类 说明 classAccessNotConfiguredExceptionIndicates that the API call was not configured for the supplied credentials and environmental conditions.classInvalidRequestExceptionIndicates that the API received a malformed request.classMaxElementsExceededExceptionIndicates that the product of origins and destinations exceeds the per-query limit.classMaxRouteLengthExceededExceptionIndicates that the requested route is too long and cannot be processed.classMaxWaypointsExceededExceptionIndicates that too many waypoints were provided in the request.classNotFoundExceptionIndicates at least one of the locations specified in the request's origin, destination, or waypoints could not be geocoded.classOverDailyLimitExceptionIndicates that the requesting account has exceeded its daily quota.classOverQueryLimitExceptionIndicates that the requesting account has exceeded its short-term quota.classRequestDeniedExceptionIndicates that the API denied the request.classUnknownErrorExceptionIndicates that the server encountered an unknown error.classZeroResultsExceptionIndicates that no results were returned.返回ApiException的ai.nextbillion.maps.errors中的方法 修饰符和类型 方法 说明 static ApiExceptionApiException. from(java.lang.String status, java.lang.String errorMessage)Construct the appropriate ApiException from the response. -
ai.nextbillion.maps.internal中ApiException的使用
返回ApiException的ai.nextbillion.maps.internal中的方法 修饰符和类型 方法 说明 ApiExceptionApiResponse. getError()抛出ApiException的ai.nextbillion.maps.internal中的方法 修饰符和类型 方法 说明 TGaePendingResult. await()TOkHttpPendingResult. await()