From: ageay Date: Tue, 29 Oct 2013 11:01:28 +0000 (+0000) Subject: Warning hunting. X-Git-Tag: V7_3_1b1~78 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=19a19f94e1adf5efd6386c554d5c6c113980a86d;p=tools%2Fmedcoupling.git Warning hunting. --- diff --git a/src/INTERP_KERNEL/InterpolationPlanar.txx b/src/INTERP_KERNEL/InterpolationPlanar.txx index 92aa07407..62568cab0 100644 --- a/src/INTERP_KERNEL/InterpolationPlanar.txx +++ b/src/INTERP_KERNEL/InterpolationPlanar.txx @@ -190,6 +190,8 @@ namespace INTERP_KERNEL InterpolationOptions::getPrecision(), InterpolationOptions::getOrientation()); break; + default: + throw INTERP_KERNEL::Exception("For P0P0 planar interpolation possibities are : Triangulation, Convex, Geometric2D, PointLocator !"); } } else if(meth=="P0P1") @@ -227,6 +229,8 @@ namespace INTERP_KERNEL InterpolationOptions::getPrecision(), InterpolationOptions::getOrientation()); break; + default: + throw INTERP_KERNEL::Exception("For P0P1 planar interpolation possibities are : Triangulation, Convex, Geometric2D, PointLocator !"); } } else if(meth=="P1P0") @@ -316,6 +320,8 @@ namespace INTERP_KERNEL InterpolationOptions::getPrecision(), InterpolationOptions::getOrientation()); break; + default: + throw INTERP_KERNEL::Exception("For P1P1 planar interpolation possibities are : Triangulation, Convex, Geometric2D, PointLocator !"); } } else