Remove dynamic exceptions
[anna.git] / source / comm / IndexedDelivery.cpp
index abc115f..98ad2d2 100644 (file)
@@ -28,7 +28,7 @@ using namespace std;
 using namespace anna;
 
 void comm::IndexedDelivery::prepare(const int key)
-throw(RuntimeException) {
+noexcept(false) {
   const int size = comm::Delivery::size();
 
   if(size == 0) {
@@ -51,7 +51,7 @@ throw(RuntimeException) {
 }
 
 comm::Resource* comm::IndexedDelivery::do_apply()
-throw(RuntimeException) {
+noexcept(false) {
   comm::Resource* result = NULL;
 
   if(a_iikey == comm::Delivery::end())
@@ -97,7 +97,7 @@ throw(RuntimeException) {
 }
 
 string comm::IndexedDelivery::asString() const
-throw() {
+{
   string result = className();
   result += " { ";
   result += comm::Delivery::asString();
@@ -107,7 +107,7 @@ throw() {
 }
 
 xml::Node* comm::IndexedDelivery::asXML(xml::Node* parent) const
-throw() {
+{
   xml::Node* node = parent->createChild("comm.IndexedDelivery");
   node->createAttribute("Mode", (a_mode == Mode::Strict) ? "Strict" : "Flexible");
   comm::Service::asXML(node);