lyx_mirror/src/boost.C
Lars Gullik Bjønnes 92d522b7f1 introduce namespace lyx::support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7224 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-30 23:56:22 +00:00

23 lines
290 B
C

#include <config.h>
#include "debug.h"
#include "support/LAssert.h"
#include <exception>
using namespace lyx::support;
using std::endl;
namespace boost {
void throw_exception(std::exception const & e)
{
lyxerr << "Exception caught:\n"
<< e.what() << endl;
Assert(false);
}
}