* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author Lars Gullik Bjønnes
+ * \author Lars Gullik Bjønnes
*
* Full author contact details are available in file CREDITS.
*/
namespace boost {
#ifndef BOOST_NO_EXCEPTIONS
-void throw_exception(exception const & e)
+void throw_exception(std::exception const & e)
{
- lyxerr << "Exception caught:\n" << e.diagnostic_information() << endl;
+ lyxerr << "Exception caught:\n" << e.what() << endl;
LASSERT(false, /**/);
}
#endif