]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
new global exception InvalidConstructorCall
authorguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 11 Mar 2003 10:14:12 +0000 (10:14 +0000)
committerguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 11 Mar 2003 10:14:12 +0000 (10:14 +0000)
git-svn-id: https://svn.dealii.org/trunk@7311 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 7ad7fd9ba6d82d27b33231538e84431ada0cb9c3..3c6a20806830f1d77e16797692fa6ae035f7b744 100644 (file)
@@ -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.

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.