From 2c8f2c3d1690142d112527210f96f10610384e94 Mon Sep 17 00:00:00 2001 From: Guido Kanschat Date: Tue, 11 Mar 2003 10:14:12 +0000 Subject: [PATCH] new global exception InvalidConstructorCall git-svn-id: https://svn.dealii.org/trunk@7311 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/include/base/exceptions.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/deal.II/base/include/base/exceptions.h b/deal.II/base/include/base/exceptions.h index 7ad7fd9ba6..3c6a208068 100644 --- a/deal.II/base/include/base/exceptions.h +++ b/deal.II/base/include/base/exceptions.h @@ -854,6 +854,16 @@ namespace StandardExceptions */ DeclException0 (ExcPureFunctionCalled); + /** + * Used for constructors that are + * disabled. Examples are copy + * constructors and assignment + * operators of large objects, + * which are only allowed for empty + * objects. + */ + DeclException0 (ExcInvalidConstructorCall); + /** * This exception is used if some * object is found uninitialized. -- 2.39.5