public class BaseHttpServiceException extends BaseServiceException
Base class for all exceptions from http-based services.
Static Fields
UNKNOWN_CODE
public static final int UNKNOWN_CODE
Type | Description |
int |
Constructors
BaseHttpServiceException(GoogleJsonError googleJsonError, boolean idempotent, Set<BaseServiceException.Error> retryableErrors)
protected BaseHttpServiceException(GoogleJsonError googleJsonError, boolean idempotent, Set<BaseServiceException.Error> retryableErrors)
Name | Description |
googleJsonError | com.google.api.client.googleapis.json.GoogleJsonError |
idempotent | boolean |
retryableErrors | Set<Error> |
BaseHttpServiceException(int code, String message, String reason, boolean idempotent, Set<BaseServiceException.Error> retryableErrors)
protected BaseHttpServiceException(int code, String message, String reason, boolean idempotent, Set<BaseServiceException.Error> retryableErrors)
Name | Description |
code | int |
message | String |
reason | String |
idempotent | boolean |
retryableErrors | Set<Error> |
BaseHttpServiceException(int code, String message, String reason, boolean idempotent, Set<BaseServiceException.Error> retryableErrors, Throwable cause)
protected BaseHttpServiceException(int code, String message, String reason, boolean idempotent, Set<BaseServiceException.Error> retryableErrors, Throwable cause)
Name | Description |
code | int |
message | String |
reason | String |
idempotent | boolean |
retryableErrors | Set<Error> |
cause | Throwable |
BaseHttpServiceException(IOException exception, boolean idempotent, Set<BaseServiceException.Error> retryableErrors)
protected BaseHttpServiceException(IOException exception, boolean idempotent, Set<BaseServiceException.Error> retryableErrors)
Name | Description |
exception | IOException |
idempotent | boolean |
retryableErrors | Set<Error> |