From 2b9556fa2bfcc639b6165f63d2a8b05cd5b978dd Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 23 Aug 2016 16:21:55 -0600 Subject: [PATCH] Equip one exception with an error text. Remove a second exception class that was unused. --- include/deal.II/lac/vector_memory.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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."); //@} /** -- 2.39.5