THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#176 - menaingful error message, here: no hash at end of dgf file
User who did this - Bernd Flemisch (bernd)
----------
If you want a message explicitly stating that you missed the ending \"#,\" the
correct way is indeed to improve the DGF parser of dune-grid.
Until hell freezes over or somebody actually does that, we could improve our
exception handling in start.hh. Currently, a not too bad message \"-> Creation
of the grid failed! <-\" is printed to the screen. This is however followed by
the complete usage message, so that it might be missed. One could either work
on the order and text of the messages here (i.e. start.hh:344ff), or
additionally explicitly catch a Dune::DGFException by inserting something like
catch (Dune::DGFException) {
std::cerr << \"DGF exception thrown. Most likely, the DGF file name is
wrong\"
\" or the DGF file is corrupted.\" << std::endl;
throw;
}
Either way is fine with me. Please go ahead.
----------
More information can be found at the following URL:
http://www.dumux.org/flyspray/index.php?do=details&task_id=176#comment290
You are receiving this message because you have requested it from the Flyspray
bugtracking system. If you did not expect this message or don't want to
receive mails in future, you can change your notification settings at the URL
shown above.
_______________________________________________
Dumux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux