Skip to content
Snippets Groups Projects
Commit 9ce30838 authored by Dennis Gläser's avatar Dennis Gläser
Browse files

[examples][2pinfiltration] remove dgf exception handling

parent 6c8c568b
No related branches found
No related tags found
1 merge request!3662Cleanup/2pinfiltration example
...@@ -292,15 +292,6 @@ catch (const Dumux::ParameterException &e) ...@@ -292,15 +292,6 @@ catch (const Dumux::ParameterException &e)
std::cerr << std::endl << e << " ---> Abort!" << std::endl; std::cerr << std::endl << e << " ---> Abort!" << std::endl;
return 1; return 1;
} }
catch (const Dune::DGFException & e)
{
std::cerr << "DGF exception thrown (" << e <<
"). Most likely, the DGF file name is wrong "
"or the DGF file is corrupted, "
"e.g. missing hash at end of file or wrong number (dimensions) of entries."
<< " ---> Abort!" << std::endl;
return 2;
}
catch (const Dune::Exception &e) catch (const Dune::Exception &e)
{ {
std::cerr << "Dune reported error: " << e << " ---> Abort!" << std::endl; std::cerr << "Dune reported error: " << e << " ---> Abort!" << std::endl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment