Package org.bson

Class BsonMaximumSizeExceededException

All Implemented Interfaces:
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:
  • Constructor Details

    • BsonMaximumSizeExceededException

      public BsonMaximumSizeExceededException(String message)
      Construct a new instance.
      Parameters:
      message - the message