]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Enclose predefined exceptions into a namespace and make that
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 4 Mar 1999 12:26:33 +0000 (12:26 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 4 Mar 1999 12:26:33 +0000 (12:26 +0000)
publically available.

git-svn-id: https://svn.dealii.org/trunk@946 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 8d6746d10673fefcb845d1d01e599d975e757116..b065f01e58201b23e76c6c8026c925a211663318 100644 (file)
@@ -563,8 +563,14 @@ class Exception5 : public ExceptionBase {                             \
 }
 
 
-DeclException0 (ExcNotImplemented);
-DeclException0 (ExcInternalError);
+namespace StandardExceptions 
+{
+  DeclException0 (ExcNotImplemented);
+  DeclException0 (ExcInternalError);
+};
+
+
+using namespace StandardExceptions;
 
 
 

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.