From: Wolfgang Bangerth Date: Thu, 25 Aug 2016 19:51:48 +0000 (-0600) Subject: Provide more explanation for a number of exceptions. X-Git-Tag: v8.5.0-rc1~737^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f20682f0a6d33486f4aabaa12ab8bcac826b590;p=dealii.git Provide more explanation for a number of exceptions. --- diff --git a/include/deal.II/base/exceptions.h b/include/deal.II/base/exceptions.h index 507fecd3d6..63b338f265 100644 --- a/include/deal.II/base/exceptions.h +++ b/include/deal.II/base/exceptions.h @@ -1042,17 +1042,28 @@ namespace StandardExceptions /** * This function requires support for the LAPACK library. */ - DeclException0 (ExcNeedsLAPACK); + DeclExceptionMsg (ExcNeedsLAPACK, + "You are attempting to use functionality that is only available " + "if deal.II was configured to use LAPACK, but cmake did not " + "find a valid LAPACK library."); /** * This function requires support for the NetCDF library. */ - DeclException0 (ExcNeedsNetCDF); + DeclExceptionMsg (ExcNeedsNetCDF, + "You are attempting to use functionality that is only available " + "if deal.II was configured to use NetCDF, but cmake did not " + "find a valid NetCDF library."); /** * This function requires support for the FunctionParser library. */ - DeclException0 (ExcNeedsFunctionparser); + DeclExceptionMsg (ExcNeedsFunctionparser, + "You are attempting to use functionality that is only available " + "if deal.II was configured to use the function parser which " + "relies on the muparser library, but cmake did not " + "find a valid muparser library on your system and also did " + "not choose the one that comes bundled with deal.II."); //@}