diff options
Diffstat (limited to 'src/mongo/rpc/reply_builder_interface.h')
-rw-r--r-- | src/mongo/rpc/reply_builder_interface.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/rpc/reply_builder_interface.h b/src/mongo/rpc/reply_builder_interface.h index c0f93503c3c..860f52a5d02 100644 --- a/src/mongo/rpc/reply_builder_interface.h +++ b/src/mongo/rpc/reply_builder_interface.h @@ -113,6 +113,8 @@ public: /** * Writes data then transfers ownership of the message to the caller. The behavior of * calling any methods on the builder is subsequently undefined. + * Can throw BSONObjectTooLarge if the internal buffer has grown too large to be converted + * to a Message within the BSON size limit. */ virtual Message done() = 0; |