summaryrefslogtreecommitdiff
path: root/src/mongo/db/operation_context.h
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2017-08-10 15:52:33 -0400
committerMathias Stearn <mathias@10gen.com>2017-08-16 16:28:02 -0400
commit347935f7a5d0452146b1a73ad7ef9e249eaf1fb5 (patch)
tree00b322f5adcf3eb9c2624747a6b5b2179e440052 /src/mongo/db/operation_context.h
parentcdf7aacb213c99d3ce620761ff46b030bbd7732d (diff)
downloadmongo-347935f7a5d0452146b1a73ad7ef9e249eaf1fb5.tar.gz
SERVER-30580 Eliminate UserException and MsgAssertionException types
All users were converted to just use AssertionException.
Diffstat (limited to 'src/mongo/db/operation_context.h')
-rw-r--r--src/mongo/db/operation_context.h4
1 files changed, 2 insertions, 2 deletions
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<Locker> 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<stdx::mutex>& m);