Class InvalidArgumentException

Object
Throwable
Exception
OxiaException
InvalidArgumentException
All Implemented Interfaces:
Serializable

public class InvalidArgumentException extends OxiaException
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 Details

    • InvalidArgumentException

      public InvalidArgumentException(String message)
      Creates an instance of the exception.
      Parameters:
      message - the exception message
    • InvalidArgumentException

      public InvalidArgumentException(String message, Throwable cause)
      Creates an instance of the exception.
      Parameters:
      message - the exception message
      cause - the cause of the exception