@InterfaceStability.Experimental @InterfaceAudience.Public public class DeltaTooBigException extends SubDocumentException
Subdocument exception thrown when the delta in an arithmetic operation (eg counter) would result in an out-of-range number (over Long.MAX_VALUE
or under Long.MIN_VALUE
).
Note that the server also returns the corresponding error code when the delta value itself is too big, but since the SDK enforces deltas to be of type long, this case shouldn’t come up.
Constructor and Description |
---|
DeltaTooBigException() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Copyright © 2015 Couchbase, Inc.