diff options
author | Mathias Stearn <mathias@10gen.com> | 2017-08-10 15:52:33 -0400 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2017-08-16 16:28:02 -0400 |
commit | 347935f7a5d0452146b1a73ad7ef9e249eaf1fb5 (patch) | |
tree | 00b322f5adcf3eb9c2624747a6b5b2179e440052 /src/mongo/db/pipeline/field_path.h | |
parent | cdf7aacb213c99d3ce620761ff46b030bbd7732d (diff) | |
download | mongo-347935f7a5d0452146b1a73ad7ef9e249eaf1fb5.tar.gz |
SERVER-30580 Eliminate UserException and MsgAssertionException types
All users were converted to just use AssertionException.
Diffstat (limited to 'src/mongo/db/pipeline/field_path.h')
-rw-r--r-- | src/mongo/db/pipeline/field_path.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/db/pipeline/field_path.h b/src/mongo/db/pipeline/field_path.h index 2a93e607078..171bf89a5a3 100644 --- a/src/mongo/db/pipeline/field_path.h +++ b/src/mongo/db/pipeline/field_path.h @@ -42,7 +42,7 @@ namespace mongo { class FieldPath { public: /** - * Throws a UserException if a field name does not pass validation. + * Throws a AssertionException if a field name does not pass validation. */ static void uassertValidFieldName(StringData fieldName); @@ -60,7 +60,8 @@ public: } /** - * Throws a UserException if the string is empty or if any of the field names fail validation. + * Throws a AssertionException if the string is empty or if any of the field names fail + * validation. * * Field names are validated using uassertValidFieldName(). */ |