X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDCoupling%2FMEDCouplingFieldTemplate.cxx;h=2e1c24a3ff2ca113047cd413674d8067bb1009ae;hb=a23c622fadddf57290253debb129d9008226cdb9;hp=235146889f4c6b66ab30eeca3e26e83e4082523e;hpb=f67dc0817fad8a24d547e09fdab9c36e280cd378;p=tools%2Fmedcoupling.git diff --git a/src/MEDCoupling/MEDCouplingFieldTemplate.cxx b/src/MEDCoupling/MEDCouplingFieldTemplate.cxx index 235146889..2e1c24a3f 100644 --- a/src/MEDCoupling/MEDCouplingFieldTemplate.cxx +++ b/src/MEDCoupling/MEDCouplingFieldTemplate.cxx @@ -27,7 +27,7 @@ using namespace ParaMEDMEM; -MEDCouplingFieldTemplate *MEDCouplingFieldTemplate::New(const MEDCouplingFieldDouble& f) throw(INTERP_KERNEL::Exception) +MEDCouplingFieldTemplate *MEDCouplingFieldTemplate::New(const MEDCouplingFieldDouble& f) { return new MEDCouplingFieldTemplate(f); } @@ -40,7 +40,7 @@ MEDCouplingFieldTemplate *MEDCouplingFieldTemplate::New(TypeOfField type) return new MEDCouplingFieldTemplate(type); } -MEDCouplingFieldTemplate::MEDCouplingFieldTemplate(const MEDCouplingFieldDouble& f) throw(INTERP_KERNEL::Exception):MEDCouplingField(f,false) +MEDCouplingFieldTemplate::MEDCouplingFieldTemplate(const MEDCouplingFieldDouble& f):MEDCouplingField(f,false) { forceTimeOfThis(f); checkCoherency(); @@ -50,7 +50,7 @@ MEDCouplingFieldTemplate::MEDCouplingFieldTemplate(TypeOfField type):MEDCoupling { } -void MEDCouplingFieldTemplate::checkCoherency() const throw(INTERP_KERNEL::Exception) +void MEDCouplingFieldTemplate::checkCoherency() const { if(_mesh==0) throw INTERP_KERNEL::Exception("MEDCouplingFieldTemplate::checkCoherency : Empty mesh !"); @@ -130,7 +130,7 @@ void MEDCouplingFieldTemplate::serialize(DataArrayInt *&dataInt) const _type->getSerializationIntArray(dataInt); } -void MEDCouplingFieldTemplate::reprQuickOverview(std::ostream& stream) const throw(INTERP_KERNEL::Exception) +void MEDCouplingFieldTemplate::reprQuickOverview(std::ostream& stream) const { stream << "MEDCouplingFieldTemplate C++ instance at " << this << ". Name : \"" << _name << "\"." << std::endl; const char *nat=0; @@ -139,7 +139,7 @@ void MEDCouplingFieldTemplate::reprQuickOverview(std::ostream& stream) const thr nat=MEDCouplingNatureOfField::GetRepr(_nature); stream << "Nature of field template : " << nat << ".\n"; } - catch(INTERP_KERNEL::Exception& e) + catch(INTERP_KERNEL::Exception& /*e*/) { } const MEDCouplingFieldDiscretization *fd(_type); if(!fd)