From: guido Date: Tue, 11 Mar 2003 10:14:12 +0000 (+0000) Subject: new global exception InvalidConstructorCall X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c021e6b29c5dacf834747c4e86061fe0778ad713;p=dealii-svn.git new global exception InvalidConstructorCall git-svn-id: https://svn.dealii.org/trunk@7311 0785d39b-7218-0410-832d-ea1e28bc413d --- 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.