1 | *** boost/system/system_error.hpp.org 2012-09-18 13:14:40.716258337 -0400
|
---|
2 | --- boost/system/system_error.hpp 2012-09-18 13:15:14.808259047 -0400
|
---|
3 | ***************
|
---|
4 | *** 61,73 ****
|
---|
5 | --- 61,77 ----
|
---|
6 | {
|
---|
7 | if ( m_what.empty() )
|
---|
8 | {
|
---|
9 | + #ifndef BOOST_NO_EXCEPTIONS
|
---|
10 | try
|
---|
11 | + #endif
|
---|
12 | {
|
---|
13 | m_what = this->std::runtime_error::what();
|
---|
14 | if ( !m_what.empty() ) m_what += ": ";
|
---|
15 | m_what += m_error_code.message();
|
---|
16 | }
|
---|
17 | + #ifndef BOOST_NO_EXCEPTIONS
|
---|
18 | catch (...) { return std::runtime_error::what(); }
|
---|
19 | + #endif
|
---|
20 | }
|
---|
21 | return m_what.c_str();
|
---|
22 | }
|
---|