Remove dynamic exceptions
[anna.git] / source / io / AbstractReader.cpp
index f26d2a5..5c7bdea 100644 (file)
@@ -46,7 +46,7 @@ io::AbstractReader::~AbstractReader() {
 }
 
 void io::AbstractReader::close()
-throw() {
+{
   delete a_ex;
   a_ex = NULL;
 
@@ -57,7 +57,7 @@ throw() {
 }
 
 void io::AbstractReader::open(const std::string& filename)
-throw(RuntimeException) {
+noexcept(false) {
   close();
 
   if((a_file = fopen(filename.c_str(), "r")) == NULL)
@@ -65,7 +65,7 @@ throw(RuntimeException) {
 }
 
 void io::AbstractReader::verify()
-throw(RuntimeException) {
+noexcept(false) {
   if(a_ex != NULL)
     throw *a_ex;