From a33b003ae4ea11bf1efc7cebbb7d416a623e96f7 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 9 Apr 2001 10:09:14 +0000 Subject: [PATCH] Add ExcCompatibility. git-svn-id: https://svn.dealii.org/trunk@4407 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/include/base/exceptions.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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."); }; -- 2.39.5