Remove dynamic exceptions
[anna.git] / example / core / trace / main.cpp
index 9b66508..83b7970 100644 (file)
@@ -18,10 +18,10 @@ class Test : public app::Application {
 public:
    Test ();
    
-   void initialize () throw (RuntimeException);
+   void initialize () noexcept(false);
    
 private:
-   void  run () throw (RuntimeException);      
+   void  run () noexcept(false);      
 };
 
 using namespace std;
@@ -60,7 +60,7 @@ Test::Test () :
 }
 
 void Test::initialize () 
-   throw (RuntimeException)
+   noexcept(false)
 {
    CommandLine& commandLine (CommandLine::instantiate ());
 
@@ -69,7 +69,7 @@ void Test::initialize ()
 }
 
 void Test::run () 
-   throw (RuntimeException)
+   noexcept(false)
 {
    CommandLine& commandLine (CommandLine::instantiate ());