Class NumberTooBigException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.couchbase.client.core.error.CouchbaseException
-
- com.couchbase.client.core.error.subdoc.NumberTooBigException
-
- All Implemented Interfaces:
Serializable
public class NumberTooBigException extends CouchbaseException
Subdocument exception thrown when existing number value in document is too big. The value is interpreted as 64 bit on the server side so the acceptable range is that of Java's long (Long.MIN_VALUEtoLong.MAX_VALUE).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NumberTooBigException(SubDocumentErrorContext ctx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubDocumentErrorContextcontext()Returns the error context, if present.-
Methods inherited from class com.couchbase.client.core.error.CouchbaseException
getMessage
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
NumberTooBigException
public NumberTooBigException(SubDocumentErrorContext ctx)
-
-
Method Detail
-
context
@Uncommitted public SubDocumentErrorContext context()
Description copied from class:CouchbaseExceptionReturns the error context, if present.- Overrides:
contextin classCouchbaseException
-
-