]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Be more verbose in an error message.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 27 Apr 2012 13:06:17 +0000 (13:06 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 27 Apr 2012 13:06:17 +0000 (13:06 +0000)
git-svn-id: https://svn.dealii.org/trunk@25461 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/base/data_out_base.cc

index a18a1e83ccb68ef3a67cc4ac92bbc6998087f979..e367ecf4ce7cea921c821c1fbcd047ae77b6d6c5 100644 (file)
@@ -2153,7 +2153,8 @@ parse_output_format (const std::string &format_name)
     return deal_II_intermediate;
 
   AssertThrow (false,
-               ExcMessage ("The given file format name is not recognized."));
+               ExcMessage ("The given file format name is not recognized: <"
+                           + format_name + ">"));
 
                                    // return something invalid
   return OutputFormat(-1);

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.