From: maier Date: Tue, 22 Oct 2013 08:56:34 +0000 (+0000) Subject: Bugfix and provide a news item X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98d9712a99b08a3ad6acae191ceee03b905352c0;p=dealii-svn.git Bugfix and provide a news item git-svn-id: https://svn.dealii.org/trunk@31379 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/doc/news/changes.h b/deal.II/doc/news/changes.h index 601e5ea81f..42be735793 100644 --- a/deal.II/doc/news/changes.h +++ b/deal.II/doc/news/changes.h @@ -168,6 +168,15 @@ inconvenience this causes.

Specific improvements

    +
  1. + ~Subscriptor and ~GrowingVectorMemory no longer throw an exception (the + former if disable_abort_on_exception was called) to be compatible with the + C++11 standard which otherwise requires the program to immediately call + std::terminate. This was done with a new macro "AssertNothrow". +
    + (Wolfgang Bangerth, Matthias Maier, Bruno Turcksin 2013/10/22) +
  2. +
  3. dealii::SolverControl::NoConvergence now inherits dealii::ExceptionBase and is thrown via AssertThrow(false, ... ). diff --git a/deal.II/source/base/exceptions.cc b/deal.II/source/base/exceptions.cc index 28638e8501..81f8b3075e 100644 --- a/deal.II/source/base/exceptions.cc +++ b/deal.II/source/base/exceptions.cc @@ -294,7 +294,7 @@ namespace deal_II_exceptions // We are not allowed to throw, and not allowed to abort. // Just print the exception name to deallog and continue // normally: - deallog << "Exception: " << e.get_exc_name() << std::endl; + deallog << "Exception: " << exc.get_exc_name() << std::endl; } else {