Salome HOME
[EDF27816] Management of double foreach and management of proxyfile lifecycle
[modules/yacs.git] / src / engine / LinkInfo.cxx
index ca16eef1da43747a889b4ca2e7e157dbc10246b4..e4ee09ab2e6f60a189aa7f251c9acb39ef9e1cfc 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2006-2019  CEA/DEN, EDF R&D
+// Copyright (C) 2006-2023  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -50,7 +50,7 @@ void LinkInfo::startCollapseTransac()
   _level++;
 }
 
-void LinkInfo::endCollapseTransac() throw(YACS::Exception)
+void LinkInfo::endCollapseTransac()
 {
   if(--_level==0)
     {
@@ -83,7 +83,7 @@ void LinkInfo::pushWarnLink(OutPort *semStart, InPort *end, WarnReason reason)
   _collapse[reason].back().push_back(pair<OutPort *,InPort *>(semStart,end));
 }
 
-void LinkInfo::pushErrLink(OutPort *semStart, InPort *end, ErrReason reason) throw(YACS::Exception)
+void LinkInfo::pushErrLink(OutPort *semStart, InPort *end, ErrReason reason)
 {
   if(reason==E_NEVER_SET_INPUTPORT)
     _unsetInPort.push_back(end);
@@ -96,7 +96,7 @@ void LinkInfo::pushErrLink(OutPort *semStart, InPort *end, ErrReason reason) thr
       throw Exception(getErrRepr());
 }
 
-void LinkInfo::pushErrSwitch(CollectorSwOutPort *collector) throw(YACS::Exception)
+void LinkInfo::pushErrSwitch(CollectorSwOutPort *collector)
 {
   _errorsOnSwitchCases.push_back(collector);
   if(_level==0)
@@ -109,7 +109,7 @@ void LinkInfo::pushUselessCFLink(Node *start, Node *end)
   _uselessLinks.insert(pair<Node *,Node *>(start,end));
 }
 
-void LinkInfo::takeDecision() const throw(YACS::Exception)
+void LinkInfo::takeDecision() const
 {
   if(!_errors.empty())
     throw Exception(getErrRepr());