From: Daniel Arndt Date: Sat, 18 Mar 2017 14:41:28 +0000 (+0100) Subject: Make errors more descriptive X-Git-Tag: v8.5.0-rc1~23^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8cd5731d97f7e0a0a38307ea8de7afbe37373e8;p=dealii.git Make errors more descriptive --- diff --git a/include/deal.II/lac/exceptions.h b/include/deal.II/lac/exceptions.h index cff07a0e12..ee51a42b38 100644 --- a/include/deal.II/lac/exceptions.h +++ b/include/deal.II/lac/exceptions.h @@ -30,7 +30,8 @@ namespace LACExceptions /** * This function only works for quadratic matrices. */ - DeclException0 (ExcNotQuadratic); + DeclExceptionMsg (ExcNotQuadratic, + "This function only works for quadratic objects!"); /** * The operation cannot be finished since the matrix is singular.