Salome HOME
Copyrights update 2013
[modules/smesh.git] / src / SMESHUtils / SMESH_TryCatch.hxx
index 838d98ae4bb2a03e99250ff4fb165dcb7546f1d1..6a9d53621b530dd8ea4c63ad2063b5e3a37ceec4 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2013  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
 
 //-------------------------------------------------------------------------------------
 // Functions that can be used as an argument of SMESH_CATCH
+
 namespace SMESH
 {
-  void throwSalomeEx(const char* txt)
-  {
-    throw SALOME_Exception( txt );
-  }
-
-  inline void doNothing(const char* txt)
-  {
-    MESSAGE( txt << " " << __FILE__ << ": " << __LINE__ );
-  }
+  SMESHUtils_EXPORT void throwSalomeEx(const char* txt);
+  SMESHUtils_EXPORT void doNothing(const char* txt);
 }
 
 #endif