Class DocumentTooDeepException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.couchbase.client.core.CouchbaseException
-
- com.couchbase.client.java.error.subdoc.SubDocumentException
-
- com.couchbase.client.java.error.subdoc.DocumentTooDeepException
-
- All Implemented Interfaces:
Serializable
@Committed @Public public class DocumentTooDeepException extends SubDocumentException
Subdocument exception thrown when document is too deep to parse. The current limitation is there to ensure a single parse does not consume too much memory (overloading the server). This error is similar to other TooDeep errors, which all relate to various validation stages to ensure the server does not consume too much memory when parsing a single document.- Since:
- 2.2
- Author:
- Simon Baslé
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DocumentTooDeepException(String id)
-
Method Summary
-
Methods inherited from class com.couchbase.client.core.CouchbaseException
details, details, getMessage
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
DocumentTooDeepException
public DocumentTooDeepException(String id)
-
-