mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-24 02:35:20 +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);
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|