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.
    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.
        message - the message