Salome HOME
Join modifications from branch OCC_development_for_3_2_0a2
[modules/visu.git] / src / VISU_I / VISU_Prs3d_i.cc
index 64bb0bb90bfec3c1aa23295cabfad5bb568bdf5b..1bdd88b8620cfb67340c3e95225f5072df705be1 100644 (file)
@@ -265,8 +265,8 @@ VISU::Prs3d_i
   }catch(std::bad_alloc& ex){
     throw std::runtime_error("CreateActor >> No enough memory");
     throw ex;
-  } catch(std::exception& ex){
-    throw ex;
+  } catch(std::exception&){
+    throw;
   }catch(...) {
     throw std::runtime_error("CreateActor >> unexpected exception was caught!!!");
   }