Changeset 280 in pacpusframework for trunk/src/PacpusLib/PacpusApplication.cpp
- Timestamp:
- Mar 20, 2014, 11:59:05 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/PacpusLib/PacpusApplication.cpp
r222 r280 89 89 try { 90 90 return QApplication::notify(receiver, ev); 91 } catch (PacpusException 91 } catch (PacpusException& e) { 92 92 (void)e; // unused 93 LOG_ERROR("PacpusException thrown:" << e.what() );94 } catch (boost::exception 93 LOG_ERROR("PacpusException thrown:" << e.what() << "\n" << boost::diagnostic_information(e)); 94 } catch (boost::exception& e) { 95 95 (void)e; // unused 96 96 LOG_ERROR("boost::exception thrown:" << boost::diagnostic_information(e)); 97 } catch (std::exception 97 } catch (std::exception& e) { 98 98 (void)e; // unused 99 99 LOG_ERROR("std::exception thrown:" << e.what()); … … 125 125 std::stringstream errorMessage; 126 126 errorMessage << "received signal number " << signal; 127 throw PacpusException(errorMessage.str()); 127 BOOST_THROW_EXCEPTION(PacpusException(errorMessage.str()) 128 << errinfo_signal(signal) 129 ); 128 130 }
Note:
See TracChangeset
for help on using the changeset viewer.