From: guido Date: Tue, 18 May 2004 11:30:52 +0000 (+0000) Subject: Exception from several LAC classes moved here X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d86fa80882b608aa1b190d2abdb03fd5c7f5ccca;p=dealii-svn.git Exception from several LAC classes moved here git-svn-id: https://svn.dealii.org/trunk@9251 0785d39b-7218-0410-832d-ea1e28bc413d --- 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); }