From: guido Date: Tue, 25 May 2004 08:20:07 +0000 (+0000) Subject: new exception X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f5d6ed96f37c602bd3f15ac681c824ffbdb2ddb;p=dealii-svn.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