Commit 63d45824 authored by Samuel Debionne's avatar Samuel Debionne

Merge branch 'no_debug_show_exc' into 'master'

Exception: show throw message in LIMA_NO_DEBUG

See merge request !106
parents 9417a36a 4d7248b9
Pipeline #7364 passed with stages
in 19 minutes and 7 seconds
......@@ -125,14 +125,9 @@ LIMACORE_API std::ostream& operator <<(std::ostream& os, const Exception& e);
#define LIMA_HW_EXC(err_type, err_desc) \
LIMA_EXC(Hardware, err_type, err_desc)
#ifndef LIMA_NO_DEBUG
#define LIMA_EXC_DEB(layer, err_type, deb_err_type) \
Exception(layer, err_type, "", __FILE__, __FUNCTION__, __LINE__,\
new DebProxy(DEB_MSG(deb_err_type)))
#else
#define LIMA_EXC_DEB(layer, err_type, deb_err_type) \
LIMA_EXC(layer,err_type,"")
#endif
#define THROW_MSG(layer, err_type, deb_err_type) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment