From: mpv Date: Sat, 20 Feb 2016 07:32:43 +0000 (+0300) Subject: Remove exception raising: this causes problems in SALOME X-Git-Tag: V_2.2.0~82 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2e34bdba3942617080f2cdb8a904a9159ffc2ca9;p=modules%2Fshaper.git Remove exception raising: this causes problems in SALOME --- diff --git a/src/Events/Events_Error.cpp b/src/Events/Events_Error.cpp index ce19e7c79..1dc1012f2 100644 --- a/src/Events/Events_Error.cpp +++ b/src/Events/Events_Error.cpp @@ -43,12 +43,7 @@ void Events_Error::send(const std::string& theDescription, const void* theSender void Events_Error::throwException(const std::string& theDescription) { #ifdef THROW_EMPTY_AIS_EXCEPTION - try { - throw; - } - catch (...) { - Events_Error::send( - std::string("An exception: ") + theDescription); - } + Events_Error::send( + std::string("An exception: ") + theDescription); #endif -} \ No newline at end of file +}