Remove dynamic exceptions
[anna.git] / example / io / reader / reader.cpp
index 9e6c466..f42f2fc 100644 (file)
@@ -17,10 +17,10 @@ class Test : public anna::app::Application {
 public:
    Test ();
    
-   void initialize () throw (anna::RuntimeException);
+   void initialize () noexcept(false);
    
 private:
-   void run () throw (anna::RuntimeException);      
+   void run () noexcept(false);      
 };
 
 using namespace std;
@@ -57,12 +57,12 @@ Test::Test () :
 }
 
 void Test::initialize () 
-   throw (RuntimeException)
+   noexcept(false)
 {
 }
 
 void Test::run () 
-   throw (RuntimeException)
+   noexcept(false)
 {
    CommandLine& commandLine (CommandLine::instantiate ());