3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
6 * \author Lars Gullik Bjønnes
8 * Full author contact details are available in file CREDITS.
15 #include <boost/assert.hpp>
25 void throw_exception(std::exception const & e)
27 lyx::lyxerr << "Exception caught:\n"
33 void assertion_failed(char const * expr, char const * function,
34 char const * file, long line)
36 lyx::lyxerr << "Assertion triggered in " << function
37 << " by failing check \"" << expr << "\""
38 << " in file " << file << ":" << line << endl;