From: wolf Date: Thu, 10 Jan 2002 14:49:51 +0000 (+0000) Subject: Fix something X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f77a09ca77c8c3008da5a5c26385813755b4b069;p=dealii-svn.git Fix something git-svn-id: https://svn.dealii.org/trunk@5377 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/base/source/exceptions.cc b/deal.II/base/source/exceptions.cc index 47d07c242b..9c5c7198a4 100644 --- a/deal.II/base/source/exceptions.cc +++ b/deal.II/base/source/exceptions.cc @@ -209,8 +209,12 @@ namespace deal_II_exceptions // not aborted due to this // reason. if (std::uncaught_exception() == true) - std::cerr << "******** Program is not aborted since another exception is active! ********" - << std::endl; + { + // only display message once + if (n_treated_exceptions == 0) + std::cerr << "******** Program is not aborted since another exception is active! ********" + << std::endl; + } else std::abort (); };