From: Guido Kanschat Date: Tue, 25 May 2004 08:20:07 +0000 (+0000) Subject: new exception X-Git-Tag: v8.0.0~15136 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f86b7f8e9591a7ded62768afc040baea89054703;p=dealii.git new exception git-svn-id: https://svn.dealii.org/trunk@9309 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/base/include/base/exceptions.h b/deal.II/base/include/base/exceptions.h index c9dca52ff5..b01cf5d72e 100644 --- a/deal.II/base/include/base/exceptions.h +++ b/deal.II/base/include/base/exceptions.h @@ -926,7 +926,18 @@ namespace StandardExceptions DeclException3 (ExcIndexRange, int, int, int, << "Index " << arg1 << " is not in [" << arg2 << "," << arg3 << "["); - + + /** + * This exception indicates that + * the first argument should be an + * integer multiple of the second, + * but is not. + */ + DeclException2 (ExcNotMultiple, int, int, + << "Division " << arg1 + << " by " << arg2 + << " has remainder different from zero"); + /** * This exception is thrown if the * iterator you incremented or