From: Wolfgang Bangerth Date: Wed, 4 Mar 2015 13:33:12 +0000 (-0600) Subject: One more exception conversion. X-Git-Tag: v8.3.0-rc1~387^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dce78840a937090da0a0a5ce55812da87db4c4e6;p=dealii.git One more exception conversion. --- diff --git a/include/deal.II/numerics/matrix_tools.h b/include/deal.II/numerics/matrix_tools.h index 26b1bf60cf..7dfc46796e 100644 --- a/include/deal.II/numerics/matrix_tools.h +++ b/include/deal.II/numerics/matrix_tools.h @@ -578,7 +578,15 @@ namespace MatrixCreator /** * Exception */ - DeclException0 (ExcComponentMismatch); + DeclExceptionMsg (ExcComponentMismatch, + "You are providing either a right hand side function or a " + "coefficient with a number of vector components that is " + "inconsistent with the rest of the arguments. If you do " + "provide a coefficient or right hand side function, then " + "it either needs to have as many components as the finite " + "element in use, or only a single vector component. In " + "the latter case, the same value will be taken for " + "each vector component of the finite element."); } @@ -972,7 +980,11 @@ namespace MatrixTools /** * Exception */ - DeclException0 (ExcBlocksDontMatch); + DeclExceptionMsg (ExcBlocksDontMatch, + "You are providing a matrix whose subdivision into " + "blocks in either row or column direction does not use " + "the same blocks sizes as the solution vector or " + "right hand side vectors, respectively."); }