diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-03-02T14·45+0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-03-02T14·46+0100 |
commit | 25eea97873396ac1aead2dddcf8050e315c31f80 (patch) | |
tree | 1c2437a31c30cfacffb9fd8841d50b73b50a2b2a /src/boost/format/exceptions.hpp | |
parent | 201b48de60751979835037a4b4f78128ba3fb7b3 (diff) |
Force stack trace for boost format errors
Diffstat (limited to 'src/boost/format/exceptions.hpp')
-rw-r--r-- | src/boost/format/exceptions.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/boost/format/exceptions.hpp b/src/boost/format/exceptions.hpp index 79e452449ef8..a7641458c95e 100644 --- a/src/boost/format/exceptions.hpp +++ b/src/boost/format/exceptions.hpp @@ -33,7 +33,7 @@ namespace io { class format_error : public std::exception { public: - format_error() {} + format_error() { abort(); } virtual const char *what() const throw() { return "boost::format_error: " @@ -44,7 +44,7 @@ public: class bad_format_string : public format_error { public: - bad_format_string() {} + bad_format_string() { abort(); } virtual const char *what() const throw() { return "boost::bad_format_string: " @@ -55,7 +55,7 @@ public: class too_few_args : public format_error { public: - too_few_args() {} + too_few_args() { abort(); } virtual const char *what() const throw() { return "boost::too_few_args: " @@ -66,7 +66,7 @@ public: class too_many_args : public format_error { public: - too_many_args() {} + too_many_args() { abort(); } virtual const char *what() const throw() { return "boost::too_many_args: " @@ -78,7 +78,7 @@ public: class out_of_range : public format_error { public: - out_of_range() {} + out_of_range() { abort(); } virtual const char *what() const throw() { return "boost::out_of_range: " |