X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FEvents%2FEvents_Error.cpp;h=1dc1012f2d17144594fecd9723a2e6f32ffb5638;hb=6e39296196ae2208bec64c011e9429abca5ab037;hp=ce19e7c79815cd090bfed60fd19c76be101ef546;hpb=cd7a5ef408ec2832fbd70b65a2e9746357033bbb;p=modules%2Fshaper.git 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 +}