Salome HOME
Management of QPOLYGON in MEDCouplingUMesh::orientCorrectly2DCells method.
[tools/medcoupling.git] / src / MEDLoader / MEDLoaderBase.cxx
index 7284476eb9df006052bd59eb602a682a3084f2d2..e35e58563c7aeeb82c49aa410b4e8b1dba733f91 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2012  CEA/DEN, EDF R&D
+// Copyright (C) 2007-2013  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -53,7 +53,7 @@ char *MEDLoaderBase::buildEmptyString(int lgth)
   return ret;
 }
 
-void MEDLoaderBase::getDirAndBaseName(const std::string& fullName, std::string& dirName, std::string& baseName) throw(INTERP_KERNEL::Exception)
+void MEDLoaderBase::getDirAndBaseName(const std::string& fullName, std::string& dirName, std::string& baseName)
 {
   std::size_t pos=fullName.find_last_of(getPathSep());
   if(pos!=std::string::npos)
@@ -68,7 +68,7 @@ void MEDLoaderBase::getDirAndBaseName(const std::string& fullName, std::string&
     }
 }
 
-std::string MEDLoaderBase::joinPath(const std::string& dirName, const std::string& baseName) throw(INTERP_KERNEL::Exception)
+std::string MEDLoaderBase::joinPath(const std::string& dirName, const std::string& baseName)
 {
   if(!dirName.empty())
     return dirName+getPathSep()+baseName;
@@ -76,7 +76,7 @@ std::string MEDLoaderBase::joinPath(const std::string& dirName, const std::strin
     return baseName;
 }
 
-std::string MEDLoaderBase::getPathSep() throw(INTERP_KERNEL::Exception)
+std::string MEDLoaderBase::getPathSep()
 {
 #ifndef WIN32
   return std::string("/");
@@ -134,7 +134,7 @@ void MEDLoaderBase::strip(std::string& s)
  * If 'behaviour' equals 0 an exception is thrown. If 'behaviour' equals 1 an attempt of zipping of string will be done
  * ( see zipString to have more details).
  */
-void MEDLoaderBase::safeStrCpy(const char *src, int maxLgth, char *dest, int behaviour) throw(INTERP_KERNEL::Exception)
+void MEDLoaderBase::safeStrCpy(const char *src, int maxLgth, char *dest, int behaviour)
 {
   if((int)strlen(src)>maxLgth)
     {
@@ -159,7 +159,7 @@ void MEDLoaderBase::safeStrCpy(const char *src, int maxLgth, char *dest, int beh
  * This method is equivalent to MEDLoaderBase::safeStrCpy except that here no '\0' car is put.
  * This method should be used for multi string in one string.
  */
-void MEDLoaderBase::safeStrCpy2(const char *src, int maxLgth, char *dest, int behaviour) throw(INTERP_KERNEL::Exception)
+void MEDLoaderBase::safeStrCpy2(const char *src, int maxLgth, char *dest, int behaviour)
 {
   if((int)strlen(src)>maxLgth)
     {