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
/
xSelect
/
main.cpp
diff --git
a/example/dbms.mysql/xSelect/main.cpp
b/example/dbms.mysql/xSelect/main.cpp
index
7a84027
..
32b23ac
100644
(file)
--- 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;
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
@@
Select::Select () :
* correspondiente y anna.dbms.mysql lo hace autom�ticamente.
*/
void Select::initialize ()
* 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;
{
CommandLine& ccll = CommandLine::instantiate ();
const char* host = ccll.exists ("host") ? ccll.getValue ("host"): NULL;
@@
-78,13
+78,12
@@
void Select::initialize ()
}
void Select::run ()
}
void Select::run ()
-
throw (RuntimeException
)
+
noexcept(false
)
{
LOGMETHOD (TraceMethod tm ("Select", "run", ANNA_FILE_LOCATION));
CommandLine& cl (CommandLine::instantiate ());
{
LOGMETHOD (TraceMethod tm ("Select", "run", ANNA_FILE_LOCATION));
CommandLine& cl (CommandLine::instantiate ());
- Statement* create;
Statement* select;
dbms::Integer n (true);
Statement* select;
dbms::Integer n (true);