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:
java.io.Serializable
public class BsonMaximumSizeExceededException extends BsonSerializationException
An exception indicating a failure to serialize a BSON document due to it exceeding the maximum size.- Since:
- 3.7
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BsonMaximumSizeExceededException(java.lang.String message)
Construct a new instance.
-
Method Summary
-
Methods inherited from class org.bson.BSONException
getErrorCode, hasErrorCode
-
-