]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Improved error message in component_mask.h because I want dinner
authorRyan Grove <rgrove@clemson.edu>
Tue, 4 Aug 2015 22:11:59 +0000 (18:11 -0400)
committerRyan Grove <rgrove@clemson.edu>
Tue, 4 Aug 2015 22:11:59 +0000 (18:11 -0400)
include/deal.II/fe/component_mask.h

index c5eee66c3d09deeec9c1edb68f725d5c2331893e..34e84df9feb0fe8909dcdea7f72af7cf9e215b7b 100644 (file)
@@ -204,7 +204,8 @@ public:
   /**
    * Exception
    */
-  DeclException0 (ExcNoComponentSelected);
+  DeclExceptionMsg (ExcNoComponentSelected, "The number of selected
+                    components in a mask must be greater than zero.");
 
 private:
   /**

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.