From: Wolfgang Bangerth Date: Tue, 31 Mar 2015 21:35:36 +0000 (-0500) Subject: Minor textual updates to an exception. X-Git-Tag: v8.3.0-rc1~332^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34b0e0ed6a15c489cd6d4b0760111357b2c416d6;p=dealii.git Minor textual updates to an exception. --- diff --git a/include/deal.II/base/exceptions.h b/include/deal.II/base/exceptions.h index a796d9f344..01fd350acb 100644 --- a/include/deal.II/base/exceptions.h +++ b/include/deal.II/base/exceptions.h @@ -873,11 +873,11 @@ namespace StandardExceptions << " nor to " << arg3); /** - * This exception is one of the most often used ones, and indicates that an - * index is not within the expected range. For example, you might try to + * This exception indicates that an index is not within the + * expected range. For example, it may be that you are trying to * access an element of a vector which does not exist. * - * The constructor takes three int, namely + * The constructor takes three int arguments, namely *
    *
  1. the violating index *
  2. the lower bound @@ -886,35 +886,35 @@ namespace StandardExceptions */ DeclException3 (ExcIndexRange, int, int, int, - << "Index " << arg1 << " is not in [" << arg2 << "," + << "Index " << arg1 << " is not in the half-open range [" << arg2 << "," << arg3 << "["); /** * This generic exception will allow(enforce) the user to specify the type * of indices which adds type safety to the program. */ - template + template DeclException3 (ExcIndexRangeType, T,T,T, - << "Index " << arg1 << " is not in [" << arg2 << "," - << arg3 << "["); + << "Index " << arg1 << " is not in the half-open range [" << arg2 << "," + << arg3 << "[."); /** * A number is too small. */ DeclException2 (ExcLowerRange, int, int, - << "Number " << arg1 << " must be larger or equal " - << arg2); + << "Number " << arg1 << " must be larger than or equal " + << arg2 << "."); /** * A generic exception definition for the ExcLowerRange above. */ - template + template DeclException2 (ExcLowerRangeType, T, T, - << "Number " << arg1 << " must be larger or equal " - << arg2); + << "Number " << arg1 << " must be larger than or equal " + << arg2 << "."); /** * This exception indicates that the first argument should be an integer