]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add ExcCompatibility.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 9 Apr 2001 10:09:14 +0000 (10:09 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 9 Apr 2001 10:09:14 +0000 (10:09 +0000)
git-svn-id: https://svn.dealii.org/trunk@4407 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/include/base/exceptions.h

index 411dd9992ea0c16a702fa715a0c2e56fc138ee60..bbc2dcffaf514f7436fe70abfd246e2d7696aba5 100644 (file)
@@ -786,6 +786,20 @@ namespace StandardExceptions
                                    */
   DeclException1 (ExcMessage, char*,
                  << arg1);
+
+                                  /**
+                                   * Exception used when running into
+                                   * functions that are only supported
+                                   * in a backward compatibility mode.
+                                   */
+  DeclException1 (ExcCompatibility,
+                 char*,
+                 << "You are using a backward compatibility feature\n"
+                 << "that you have disabled during configuration of\n"
+                 << "the library by the --disable-compat="
+                 << arg1 << " switch. You should either use an\n"
+                 << "alternative function, or configure again without\n"
+                 << "this switch and recompile the library.");
 };
 
 

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.