Package io.oxia.client.api.exceptions
Class InvalidArgumentException
Object
Throwable
Exception
OxiaException
InvalidArgumentException
- All Implemented Interfaces:
Serializable
An operation was rejected for an invalid argument, and was not applied. For instance:
- an option passed more than once, or options that can't be combined, e.g. a sequential put with an expected version id;
- a put larger than the maximum request size of 256 MiB;
- a sequential put that doesn't fit the keys already under its prefix: the last one is not a key of its sequence, or the deltas overflow the sequence;
- a put with a secondary index name that contains
/; - a delete range that covers both regular keys and the server's internal keys (
__oxia/).
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidArgumentException(String message) Creates an instance of the exception.InvalidArgumentException(String message, Throwable cause) Creates an instance of the exception. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidArgumentException
Creates an instance of the exception.- Parameters:
message- the exception message
-
InvalidArgumentException
Creates an instance of the exception.- Parameters:
message- the exception messagecause- the cause of the exception
-