From: guido Date: Fri, 8 Apr 2005 09:44:05 +0000 (+0000) Subject: Exception for disabled features X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a66a36498e10e28150c437427aca0d963b697e5b;p=dealii-svn.git Exception for disabled features git-svn-id: https://svn.dealii.org/trunk@10428 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/base/include/base/exceptions.h b/deal.II/base/include/base/exceptions.h index 45d73e90d2..7588659577 100644 --- a/deal.II/base/include/base/exceptions.h +++ b/deal.II/base/include/base/exceptions.h @@ -1077,6 +1077,16 @@ namespace StandardExceptions * if it is actually included. */ DeclException0 (ExcNeedsPETSC); + /** + * A configuration option disabled + * this feature. In order to use + * it, you must reconfigure and + * recompile the libraries. + */ + DeclException1 (ExcDisabled, char*, + << "This feature was disabled by the " + "configuration option --disable-" + << arg1 << ". Reconfigure to use it!"); //@} }