]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Equip one exception with an error text. 3007/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 23 Aug 2016 22:21:55 +0000 (16:21 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Tue, 23 Aug 2016 22:23:52 +0000 (16:23 -0600)
Remove a second exception class that was unused.

include/deal.II/lac/vector_memory.h

index 85473dbd7e6607ebd2ea4e7d550fa45dc55583b2..88f084f9b9645c47459f1d69fa508e952ec2a02f 100644 (file)
@@ -97,14 +97,12 @@ public:
    * @{
    */
 
-  /**
-   * No more available vectors.
-   */
-  DeclException0(ExcNoMoreVectors);
   /**
    * Vector was not allocated from this memory pool.
    */
-  DeclException0(ExcNotAllocatedHere);
+  DeclExceptionMsg(ExcNotAllocatedHere,
+                   "You are trying to deallocate a vector from a memory pool, but this "
+                   "vector has not actually been allocated by the same pool before.");
 
   //@}
   /**

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.