Exception BaseHttpServiceException (2.25.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
TypeDescription
int

Constructors

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

protected BaseHttpServiceException(GoogleJsonError googleJsonError, boolean idempotent, Set<BaseServiceException.Error> retryableErrors)
Parameters
NameDescription
googleJsonErrorcom.google.api.client.googleapis.json.GoogleJsonError
idempotentboolean
retryableErrorsSet<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
NameDescription
codeint
messageString
reasonString
idempotentboolean
retryableErrorsSet<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
NameDescription
codeint
messageString
reasonString
idempotentboolean
retryableErrorsSet<Error>
causeThrowable

BaseHttpServiceException(IOException exception, boolean idempotent, Set<BaseServiceException.Error> retryableErrors)

protected BaseHttpServiceException(IOException exception, boolean idempotent, Set<BaseServiceException.Error> retryableErrors)
Parameters
NameDescription
exceptionIOException
idempotentboolean
retryableErrorsSet<Error>