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
public class InvalidArgumentException extends ApiException
Exception thrown when client specified an invalid argument. Note that this differs fromFailedPreconditionException. This exception indicates arguments that are problematic regardless of the state of the system (e.g., a malformed file name).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidArgumentException(String message, Throwable cause, StatusCode statusCode, boolean retryable)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, isRetryable
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
InvalidArgumentException
public InvalidArgumentException(Throwable cause, StatusCode statusCode, boolean retryable)
-
InvalidArgumentException
public InvalidArgumentException(String message, Throwable cause, StatusCode statusCode, boolean retryable)
-
InvalidArgumentException
public InvalidArgumentException(Throwable cause, StatusCode statusCode, boolean retryable, ErrorDetails errorDetails)
-
-