From: Wolfgang Bangerth Date: Thu, 25 Aug 2016 19:51:39 +0000 (-0600) Subject: Equip an error message with an error text. X-Git-Tag: v8.5.0-rc1~737^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=722b611b4e3558e249fbb4c62f41c5c50c87f82e;p=dealii.git Equip an error message with an error text. --- diff --git a/include/deal.II/base/parameter_handler.h b/include/deal.II/base/parameter_handler.h index a4fb343e13..09059cd474 100644 --- a/include/deal.II/base/parameter_handler.h +++ b/include/deal.II/base/parameter_handler.h @@ -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 */