X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=example%2Fdbms.mysql%2FxInsert%2Fmain.cpp;fp=example%2Fdbms.mysql%2FxInsert%2Fmain.cpp;h=61d1d4940017e788fd19d11447b881b0e89234cf;hp=d52b9a1ae3a161ff8e5c3aa4da6a56fc5629f43a;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/example/dbms.mysql/xInsert/main.cpp b/example/dbms.mysql/xInsert/main.cpp index d52b9a1..61d1d49 100644 --- a/example/dbms.mysql/xInsert/main.cpp +++ b/example/dbms.mysql/xInsert/main.cpp @@ -23,8 +23,8 @@ public: private: anna::dbms::Database* a_db; - void initialize () throw (RuntimeException); - void run () throw (RuntimeException); + void initialize () noexcept(false); + void run () noexcept(false); }; using namespace std; @@ -68,7 +68,7 @@ Insert::Insert () : * correspondiente y anna.dbms.mysql lo hace autom�ticamente. */ void Insert::initialize () - throw (RuntimeException) + noexcept(false) { CommandLine& ccll = CommandLine::instantiate (); const char* host = ccll.exists ("host") ? ccll.getValue ("host"): NULL; @@ -78,7 +78,7 @@ void Insert::initialize () } void Insert::run () - throw (RuntimeException) + noexcept(false) { LOGMETHOD (TraceMethod tm ("Insert", "run", ANNA_FILE_LOCATION));