X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Fcomm%2FIndexedDelivery.cpp;h=98ad2d2f785265be0fb3d60c021d010630bc04da;hp=abc115f322318fbfd9f0d4198f75e05972df7e6c;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/source/comm/IndexedDelivery.cpp b/source/comm/IndexedDelivery.cpp index abc115f..98ad2d2 100644 --- a/source/comm/IndexedDelivery.cpp +++ b/source/comm/IndexedDelivery.cpp @@ -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);