From: Guido Kanschat Date: Fri, 8 Apr 2005 09:44:05 +0000 (+0000) Subject: Exception for disabled features X-Git-Tag: v8.0.0~14119 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7debe70d8472be2400cce31f5a826719317023b3;p=dealii.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!"); //@} }