From af832b1b5546f1fffb7a59b74bbf16bf5a67f77d Mon Sep 17 00:00:00 2001 From: wolf Date: Thu, 4 Mar 1999 12:26:33 +0000 Subject: [PATCH] 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 --- deal.II/base/include/base/exceptions.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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; -- 2.39.5