From 347935f7a5d0452146b1a73ad7ef9e249eaf1fb5 Mon Sep 17 00:00:00 2001 From: Mathias Stearn Date: Thu, 10 Aug 2017 15:52:33 -0400 Subject: SERVER-30580 Eliminate UserException and MsgAssertionException types All users were converted to just use AssertionException. --- src/mongo/db/operation_context.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mongo/db/operation_context.h') diff --git a/src/mongo/db/operation_context.h b/src/mongo/db/operation_context.h index 68641488d48..6b2e28be20d 100644 --- a/src/mongo/db/operation_context.h +++ b/src/mongo/db/operation_context.h @@ -137,7 +137,7 @@ public: std::unique_ptr releaseLockState(); /** - * Raises a UserException if this operation is in a killed state. + * Raises a AssertionException if this operation is in a killed state. */ void checkForInterrupt(); @@ -159,7 +159,7 @@ public: /** * Waits for either the condition "cv" to be signaled, this operation to be interrupted, or the * deadline on this operation to expire. In the event of interruption or operation deadline - * expiration, raises a UserException with an error code indicating the interruption type. + * expiration, raises a AssertionException with an error code indicating the interruption type. */ void waitForConditionOrInterrupt(stdx::condition_variable& cv, stdx::unique_lock& m); -- cgit v1.2.1