Commit 14519454 authored by Naumann, Andreas's avatar Naumann, Andreas
Browse files

throw exception instead of this annoying exit

parent 8518668b
...@@ -177,6 +177,7 @@ namespace AMDiS { ...@@ -177,6 +177,7 @@ namespace AMDiS {
PRINT_LINE((*error), buff); PRINT_LINE((*error), buff);
va_end(arg); va_end(arg);
throw std::runtime_error(buff);
exit(1); exit(1);
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment