From: Wolfgang Bangerth Date: Mon, 9 Apr 2001 10:09:14 +0000 (+0000) Subject: Add ExcCompatibility. X-Git-Tag: v8.0.0~19375 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a33b003ae4ea11bf1efc7cebbb7d416a623e96f7;p=dealii.git Add ExcCompatibility. git-svn-id: https://svn.dealii.org/trunk@4407 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/base/include/base/exceptions.h b/deal.II/base/include/base/exceptions.h index 411dd9992e..bbc2dcffaf 100644 --- a/deal.II/base/include/base/exceptions.h +++ b/deal.II/base/include/base/exceptions.h @@ -786,6 +786,20 @@ namespace StandardExceptions */ DeclException1 (ExcMessage, char*, << arg1); + + /** + * Exception used when running into + * functions that are only supported + * in a backward compatibility mode. + */ + DeclException1 (ExcCompatibility, + char*, + << "You are using a backward compatibility feature\n" + << "that you have disabled during configuration of\n" + << "the library by the --disable-compat=" + << arg1 << " switch. You should either use an\n" + << "alternative function, or configure again without\n" + << "this switch and recompile the library."); };