@InterfaceStability.Experimental @InterfaceAudience.Public public class BadDeltaException extends SubDocumentException
Subdocument exception thrown when the delta in an arithmetic operation (eg counter) is invalid:
ZeroDeltaException
in that case).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, or not a number, but since the SDK enforces deltas to be of type long, these cases shouldn’t come up.
Constructor and Description |
---|
BadDeltaException() |
BadDeltaException(String message) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public BadDeltaException(String message)
public BadDeltaException()
Copyright © 2015 Couchbase, Inc.