From d86fa80882b608aa1b190d2abdb03fd5c7f5ccca Mon Sep 17 00:00:00 2001 From: guido Date: Tue, 18 May 2004 11:30:52 +0000 Subject: [PATCH] Exception from several LAC classes moved here git-svn-id: https://svn.dealii.org/trunk@9251 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/include/base/exceptions.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/deal.II/base/include/base/exceptions.h b/deal.II/base/include/base/exceptions.h index 64e47cb560..c9dca52ff5 100644 --- a/deal.II/base/include/base/exceptions.h +++ b/deal.II/base/include/base/exceptions.h @@ -968,6 +968,19 @@ namespace StandardExceptions << arg1 << " switch. You should either use an\n" << "alternative function, or configure again without\n" << "this switch and recompile the library."); + + /** + * Some of our numerical classes + * allow for setting alll entries + * to zero using the assignment + * operator =. + * + * In many cases, this assignment + * operator makes sense only + * for the argument zero. In other + * cases, this exception is thrown. + */ + DeclException0 (ExcScalarAssignmentOnlyForZeroValue); } -- 2.39.5