Exception BaseHttpServiceException (2.49.0)

public class BaseHttpServiceException extends BaseServiceException

Base class for all exceptions from http-based services.

Static Fields

UNKNOWN_CODE

public static final int UNKNOWN_CODE
Field Value
Type Description
int

Constructors

BaseHttpServiceException(GoogleJsonError googleJsonError, boolean idempotent, Set<BaseServiceException.Error> retryableErrors)

protected BaseHttpServiceException(GoogleJsonError googleJsonError, boolean idempotent, Set<BaseServiceException.Error> retryableErrors)
Parameters
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)
Parameters
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)
Parameters
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)
Parameters
Name Description
exception IOException
idempotent boolean
retryableErrors Set<Error>