From: Timo Heister Date: Wed, 21 Feb 2018 22:01:43 +0000 (-0500) Subject: remove unused exceptions X-Git-Tag: v9.0.0-rc1~403^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8649ed2bffdb6c89a8323043de5b8aa9f9cd34eb;p=dealii.git remove unused exceptions --- 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