From 8649ed2bffdb6c89a8323043de5b8aa9f9cd34eb Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Wed, 21 Feb 2018 17:01:43 -0500 Subject: [PATCH] remove unused exceptions --- include/deal.II/grid/tria_levels.h | 16 ---------------- include/deal.II/grid/tria_objects.h | 16 ---------------- 2 files changed, 32 deletions(-) diff --git a/include/deal.II/grid/tria_levels.h b/include/deal.II/grid/tria_levels.h index b1a3c2feac..9f40265015 100644 --- a/include/deal.II/grid/tria_levels.h +++ b/include/deal.II/grid/tria_levels.h @@ -190,14 +190,6 @@ namespace internal void serialize(Archive &ar, const unsigned int version); - /** - * Exception - */ - DeclException3 (ExcMemoryWasted, - char *, int, int, - << "The container " << arg1 << " contains " - << arg2 << " elements, but it`s capacity is " - << arg3 << "."); /** * Exception */ @@ -251,14 +243,6 @@ namespace internal void serialize(Archive &ar, const unsigned int version); - /** - * Exception - */ - DeclException3 (ExcMemoryWasted, - char *, int, int, - << "The container " << arg1 << " contains " - << arg2 << " elements, but it`s capacity is " - << arg3 << "."); /** * Exception */ diff --git a/include/deal.II/grid/tria_objects.h b/include/deal.II/grid/tria_objects.h index 70868c65b5..3f30a226a2 100644 --- a/include/deal.II/grid/tria_objects.h +++ b/include/deal.II/grid/tria_objects.h @@ -301,14 +301,6 @@ namespace internal void serialize(Archive &ar, const unsigned int version); - /** - * Exception - */ - DeclException3 (ExcMemoryWasted, - char *, int, int, - << "The container " << arg1 << " contains " - << arg2 << " elements, but it`s capacity is " - << arg3 << "."); /** * Exception * @ingroup Exceptions @@ -318,14 +310,6 @@ namespace internal << "The containers have sizes " << arg1 << " and " << arg2 << ", which is not as expected."); - /** - * Exception - */ - DeclException2 (ExcWrongIterator, - char *, char *, - << "You asked for the next free " << arg1 << "_iterator, " - "but you can only ask for " << arg2 <<"_iterators."); - /** * dealii::Triangulation objects can either access a user pointer or a * user index. What you tried to do is trying to access one of those -- 2.39.5