Class CannotInsertValueException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.couchbase.client.core.error.CouchbaseException
-
- com.couchbase.client.core.error.subdoc.SubDocumentException
-
- com.couchbase.client.core.error.subdoc.CannotInsertValueException
-
- All Implemented Interfaces:
Serializable
public class CannotInsertValueException extends SubDocumentException
Subdocument exception thrown when the provided value cannot be inserted at the given path. It is actually thrown when the delta in an counter operation is valid, but applying that delta would result in an out-of-range number (overLong.MAX_VALUE
or underLong.MIN_VALUE
).- Since:
- 2.0
- Author:
- Simon Baslé
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CannotInsertValueException(String reason)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
CannotInsertValueException
public CannotInsertValueException(String reason)
-
-