mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-14 15:05:56 +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);
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|