From: Wolfgang Bangerth Date: Tue, 23 Aug 2016 22:21:55 +0000 (-0600) Subject: Equip one exception with an error text. X-Git-Tag: v8.5.0-rc1~741^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F3007%2Fhead;p=dealii.git Equip one exception with an error text. Remove a second exception class that was unused. --- diff --git a/include/deal.II/lac/vector_memory.h b/include/deal.II/lac/vector_memory.h index 85473dbd7e..88f084f9b9 100644 --- a/include/deal.II/lac/vector_memory.h +++ b/include/deal.II/lac/vector_memory.h @@ -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."); //@} /**