mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 13:48:59 +00:00
21 lines
264 B
C++
21 lines
264 B
C++
|
#include <config.h>
|
||
|
|
||
|
#include "debug.h"
|
||
|
#include "support/LAssert.h"
|
||
|
|
||
|
#include <exception>
|
||
|
|
||
|
using std::endl;
|
||
|
|
||
|
namespace boost {
|
||
|
|
||
|
void throw_exception(std::exception const & e)
|
||
|
{
|
||
|
lyxerr << "Exception caught:\n"
|
||
|
<< e.what() << endl;
|
||
|
lyx::Assert(false);
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|