From: wolf Date: Thu, 4 Mar 1999 12:26:33 +0000 (+0000) Subject: Enclose predefined exceptions into a namespace and make that X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af832b1b5546f1fffb7a59b74bbf16bf5a67f77d;p=dealii-svn.git Enclose predefined exceptions into a namespace and make that publically available. git-svn-id: https://svn.dealii.org/trunk@946 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/base/include/base/exceptions.h b/deal.II/base/include/base/exceptions.h index 8d6746d106..b065f01e58 100644 --- a/deal.II/base/include/base/exceptions.h +++ b/deal.II/base/include/base/exceptions.h @@ -563,8 +563,14 @@ class Exception5 : public ExceptionBase { \ } -DeclException0 (ExcNotImplemented); -DeclException0 (ExcInternalError); +namespace StandardExceptions +{ + DeclException0 (ExcNotImplemented); + DeclException0 (ExcInternalError); +}; + + +using namespace StandardExceptions;