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.
13 #include <boost/assert.hpp>
23 void throw_exception(std::exception const & e)
25 cerr << "Exception caught:\n"
31 void assertion_failed(char const * expr, char const * function,
32 char const * file, long line)
34 cerr << "Assertion triggered in " << function
35 << " by failing check \"" << expr << "\""
36 << " in file " << file << ":" << line << endl;