]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Equip an error message with an error text.
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 25 Aug 2016 19:51:39 +0000 (13:51 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 25 Aug 2016 19:51:39 +0000 (13:51 -0600)
include/deal.II/base/parameter_handler.h

index a4fb343e1360d35e5980e2228c0110974bb4d217..09059cd474ee1deea3f8ec9b064fb2fd117c6703 100644 (file)
@@ -1950,7 +1950,9 @@ public:
   /**
    * Exception
    */
-  DeclException0 (ExcAlreadyAtTopLevel);
+  DeclExceptionMsg (ExcAlreadyAtTopLevel,
+                    "You can't leave a subsection if you are already at the top level "
+                    "of the subsection hierarchy.");
   /**
    * Exception
    */

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.