summaryrefslogtreecommitdiff
path: root/stdafx.h
diff options
context:
space:
mode:
authorunknown <Administrator@.(none)>2008-10-29 16:48:03 -0500
committerunknown <Administrator@.(none)>2008-10-29 16:48:03 -0500
commit9bc872695d6bd2875e4e7b050780ee074691981b (patch)
tree882173843669f815b02508d8020d4ab9406ecd47 /stdafx.h
parent1875ee8151c15677c7396b15a715be99b8f1ee62 (diff)
downloadmongo-9bc872695d6bd2875e4e7b050780ee074691981b.tar.gz
catch asserts and report error to client on a query
various dbgrid work incremental background job class
Diffstat (limited to 'stdafx.h')
-rw-r--r--stdafx.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/stdafx.h b/stdafx.h
index bb7d5a9e702..e241d1c9a69 100644
--- a/stdafx.h
+++ b/stdafx.h
@@ -64,6 +64,7 @@ public:
class UserAssertionException : public AssertionException {
public:
UserAssertionException(const char *_msg) { msg = _msg; }
+ UserAssertionException(string _msg) { msg = _msg; }
virtual bool severe() { return false; }
virtual bool isUserAssertion() { return true; }
virtual string toString() { return "userassert:" + msg; }