From: Wolfgang Bangerth Date: Thu, 10 Jan 2002 14:49:51 +0000 (+0000) Subject: Fix something X-Git-Tag: v8.0.0~18458 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4bdff4daaaac13572138f260df13fbcdaef8c2a7;p=dealii.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 (); };