Package com.google.api.gax.rpc
Class InvalidArgumentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.google.api.gax.rpc.ApiException
com.google.api.gax.rpc.InvalidArgumentException
- All Implemented Interfaces:
Serializable
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).- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidArgumentException(String message, Throwable cause, StatusCode statusCode, boolean retryable) InvalidArgumentException(String message, Throwable cause, StatusCode statusCode, boolean retryable, ErrorDetails errorDetails) InvalidArgumentException(Throwable cause, StatusCode statusCode, boolean retryable) InvalidArgumentException(Throwable cause, StatusCode statusCode, boolean retryable, ErrorDetails errorDetails) -
Method Summary
Methods inherited from class com.google.api.gax.rpc.ApiException
getDomain, getErrorDetails, getMetadata, getReason, getStatusCode, isRetryableMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidArgumentException
-
InvalidArgumentException
public InvalidArgumentException(String message, Throwable cause, StatusCode statusCode, boolean retryable) -
InvalidArgumentException
public InvalidArgumentException(Throwable cause, StatusCode statusCode, boolean retryable, ErrorDetails errorDetails) -
InvalidArgumentException
public InvalidArgumentException(String message, Throwable cause, StatusCode statusCode, boolean retryable, ErrorDetails errorDetails)
-