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]
/
source
/
xml
/
DTD.cpp
diff --git
a/source/xml/DTD.cpp
b/source/xml/DTD.cpp
index
59c9b24
..
95074d3
100644
(file)
--- a/
source/xml/DTD.cpp
+++ b/
source/xml/DTD.cpp
@@
-26,7
+26,7
@@
DTD::~DTD() {
}
void DTD::initialize(const char* content)
}
void DTD::initialize(const char* content)
-
throw(RuntimeException
) {
+
noexcept(false
) {
LOGMETHOD(TraceMethod tf("anna::xml::DTD", "initialize", ANNA_FILE_LOCATION));
Guard guard(a_mutex);
LOGMETHOD(TraceMethod tf("anna::xml::DTD", "initialize", ANNA_FILE_LOCATION));
Guard guard(a_mutex);
@@
-39,7
+39,7
@@
throw(RuntimeException) {
}
void DTD::validate(_xmlValidCtxt* context, _xmlDoc* document) const
}
void DTD::validate(_xmlValidCtxt* context, _xmlDoc* document) const
-
throw(RuntimeException
) {
+
noexcept(false
) {
if(a_handle == NULL)
throw RuntimeException("'DTD::inicialize' was not called", ANNA_FILE_LOCATION);
if(a_handle == NULL)
throw RuntimeException("'DTD::inicialize' was not called", ANNA_FILE_LOCATION);