Salome HOME
Wrong case correction: start translation, select compsolid, activate value control...
[modules/shaper.git] / src / Events / Events_Error.cpp
index ce19e7c79815cd090bfed60fd19c76be101ef546..1dc1012f2d17144594fecd9723a2e6f32ffb5638 100644 (file)
@@ -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
+}