Class InvalidArgumentException

  • All Implemented Interfaces:
    java.io.Serializable

    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).
    See Also:
    Serialized Form
    • Constructor Detail

      • InvalidArgumentException

        public InvalidArgumentException​(java.lang.Throwable cause,
                                        StatusCode statusCode,
                                        boolean retryable)
      • InvalidArgumentException

        public InvalidArgumentException​(java.lang.String message,
                                        java.lang.Throwable cause,
                                        StatusCode statusCode,
                                        boolean retryable)
      • InvalidArgumentException

        public InvalidArgumentException​(java.lang.Throwable cause,
                                        StatusCode statusCode,
                                        boolean retryable,
                                        ErrorDetails errorDetails)