2003-08-23 00:17:00 +00:00
|
|
|
|
/**
|
|
|
|
|
* \file boost.C
|
|
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
|
*
|
|
|
|
|
* \author Lars Gullik Bj<EFBFBD>nnes
|
|
|
|
|
*
|
|
|
|
|
* Full author contact details are available in file CREDITS.
|
|
|
|
|
*/
|
|
|
|
|
|
2002-08-20 21:50:08 +00:00
|
|
|
|
#include <config.h>
|
|
|
|
|
|
|
|
|
|
#include "debug.h"
|
|
|
|
|
#include "support/LAssert.h"
|
|
|
|
|
|
|
|
|
|
#include <exception>
|
|
|
|
|
|
2003-06-30 23:56:22 +00:00
|
|
|
|
using namespace lyx::support;
|
|
|
|
|
|
2002-08-20 21:50:08 +00:00
|
|
|
|
using std::endl;
|
|
|
|
|
|
|
|
|
|
namespace boost {
|
|
|
|
|
|
|
|
|
|
void throw_exception(std::exception const & e)
|
|
|
|
|
{
|
|
|
|
|
lyxerr << "Exception caught:\n"
|
|
|
|
|
<< e.what() << endl;
|
2003-06-30 23:56:22 +00:00
|
|
|
|
Assert(false);
|
2002-08-20 21:50:08 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|