Package org.bson
Class BsonMaximumSizeExceededException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.bson.BSONException
org.bson.BsonSerializationException
org.bson.BsonMaximumSizeExceededException
- All Implemented Interfaces:
Serializable
An exception indicating a failure to serialize a BSON document due to it exceeding the maximum size.
- Since:
- 3.7
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class org.bson.BSONException
getErrorCode, hasErrorCode
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BsonMaximumSizeExceededException
Construct a new instance.- Parameters:
message
- the message
-