X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=example%2Fdbms.mysql%2FxSelect%2Fmain.cpp;fp=example%2Fdbms.mysql%2FxSelect%2Fmain.cpp;h=32b23acb304a582a97d47a1dc5e2b8b8926c7914;hp=6f7fdcca37102b0732901108dab35f4f0bca8d3a;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/example/dbms.mysql/xSelect/main.cpp b/example/dbms.mysql/xSelect/main.cpp index 6f7fdcc..32b23ac 100644 --- a/example/dbms.mysql/xSelect/main.cpp +++ b/example/dbms.mysql/xSelect/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 @@ Select::Select () : * correspondiente y anna.dbms.mysql lo hace autom�ticamente. */ void Select::initialize () - throw (RuntimeException) + noexcept(false) { CommandLine& ccll = CommandLine::instantiate (); const char* host = ccll.exists ("host") ? ccll.getValue ("host"): NULL; @@ -78,7 +78,7 @@ void Select::initialize () } void Select::run () - throw (RuntimeException) + noexcept(false) { LOGMETHOD (TraceMethod tm ("Select", "run", ANNA_FILE_LOCATION));