Remove dynamic exceptions
[anna.git] / source / app / Component.cpp
index 0ab2d3b..c8d0fbc 100644 (file)
@@ -46,7 +46,7 @@ app::Component::~Component() {
 }
 
 void app::Component::addPredecessor(const char* componentName)
-throw() {
+{
   const std::string name(componentName);
 
   if((find(begin(), end(), name)) != end())
@@ -63,7 +63,7 @@ throw() {
 }
 
 void app::Component::initialize()
-throw(RuntimeException) {
+noexcept(false) {
   if(a_state == State::Running)
     return;
 
@@ -105,17 +105,17 @@ throw(RuntimeException) {
 }
 
 void app::Component::attach()
-throw(RuntimeException) {
+noexcept(false) {
   app::functions::getApp().attach(this);
 }
 
 std::string app::Component::asString() const
-throw() {
+{
   return anna::Component::asString();
 }
 
 xml::Node* app::Component::asXML(xml::Node* parent) const
-throw() {
+{
   return anna::Component::asXML(parent);
 }