Exception InvalidArgumentException (2.19.2)

public class InvalidArgumentException extends ApiException

Exception thrown when client specified an invalid argument. Note that this differs from FailedPreconditionException. This exception indicates arguments that are problematic regardless of the state of the system (e.g., a malformed file name).

Constructors

InvalidArgumentException(String message, Throwable cause, StatusCode statusCode, boolean retryable)

public InvalidArgumentException(String message, Throwable cause, StatusCode statusCode, boolean retryable)
Parameters
NameDescription
messageString
causeThrowable
statusCodeStatusCode
retryableboolean

InvalidArgumentException(Throwable cause, StatusCode statusCode, boolean retryable)

public InvalidArgumentException(Throwable cause, StatusCode statusCode, boolean retryable)
Parameters
NameDescription
causeThrowable
statusCodeStatusCode
retryableboolean

InvalidArgumentException(Throwable cause, StatusCode statusCode, boolean retryable, ErrorDetails errorDetails)

public InvalidArgumentException(Throwable cause, StatusCode statusCode, boolean retryable, ErrorDetails errorDetails)
Parameters
NameDescription
causeThrowable
statusCodeStatusCode
retryableboolean
errorDetailsErrorDetails