Package org.bson

Class 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
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • BsonMaximumSizeExceededException

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