Skip to content
Snippets Groups Projects
Commit 670352db authored by Christian Engwer's avatar Christian Engwer
Browse files

added exception

[[Imported from SVN: r4668]]
parent a9f71c6f
No related branches found
No related tags found
No related merge requests found
......@@ -116,8 +116,7 @@ namespace Dune {
case 10 : { sprintf(cp, "%010d", ntime); break; }
default :
{
std::cerr << "Couldn't gernerate filename with precision = "<<precision << ", file = " << __FILE__ << ", line = " << __LINE__ << "\n";
abort();
DUNE_THROW(Exception, "Couldn't gernerate filename with precision = "<<precision);
}
}
name << cp;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment