projects
/
anna.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove dynamic exceptions
[anna.git]
/
example
/
dbms.mysql
/
xInsert
/
main.cpp
diff --git
a/example/dbms.mysql/xInsert/main.cpp
b/example/dbms.mysql/xInsert/main.cpp
index
d52b9a1
..
61d1d49
100644
(file)
--- 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;
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;
};
using namespace std;
@@
-68,7
+68,7
@@
Insert::Insert () :
* correspondiente y anna.dbms.mysql lo hace autom�ticamente.
*/
void Insert::initialize ()
* 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;
{
CommandLine& ccll = CommandLine::instantiate ();
const char* host = ccll.exists ("host") ? ccll.getValue ("host"): NULL;
@@
-78,7
+78,7
@@
void Insert::initialize ()
}
void Insert::run ()
}
void Insert::run ()
-
throw (RuntimeException
)
+
noexcept(false
)
{
LOGMETHOD (TraceMethod tm ("Insert", "run", ANNA_FILE_LOCATION));
{
LOGMETHOD (TraceMethod tm ("Insert", "run", ANNA_FILE_LOCATION));