aboutsummaryrefslogtreecommitdiff
path: root/src/boost/format/exceptions.hpp
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-03-02 15:45:56 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-03-02 15:46:07 +0100
commit25eea97873396ac1aead2dddcf8050e315c31f80 (patch)
tree1c2437a31c30cfacffb9fd8841d50b73b50a2b2a /src/boost/format/exceptions.hpp
parent201b48de60751979835037a4b4f78128ba3fb7b3 (diff)
Force stack trace for boost format errors
Diffstat (limited to 'src/boost/format/exceptions.hpp')
-rw-r--r--src/boost/format/exceptions.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/boost/format/exceptions.hpp b/src/boost/format/exceptions.hpp
index 79e452449..a7641458c 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: "