Package org.bson

Class BsonMaximumSizeExceededException

  • All Implemented Interfaces:

    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
       message)
      Construct a new instance.
    • Method Summary

      • Methods inherited from class java.lang.

        , , , , , , , , , , , ,
      • Methods inherited from class java.lang.

        , , , , , , , , ,
    • Constructor Detail

      • BsonMaximumSizeExceededException

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