From db07decaee2ac16cc4b5d4c326fcee89cdf90163 Mon Sep 17 00:00:00 2001 From: Guido Kanschat Date: Tue, 18 Dec 2001 10:13:57 +0000 Subject: [PATCH] ExcFileNotOpen git-svn-id: https://svn.dealii.org/trunk@5340 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/include/base/exceptions.h | 7 +++++++ deal.II/doc/news/2001/c-3-2.html | 9 +++++++++ 2 files changed, 16 insertions(+) diff --git a/deal.II/base/include/base/exceptions.h b/deal.II/base/include/base/exceptions.h index 57dddd2d54..91d746b625 100644 --- a/deal.II/base/include/base/exceptions.h +++ b/deal.II/base/include/base/exceptions.h @@ -654,6 +654,13 @@ namespace StandardExceptions */ DeclException0 (ExcIO); + /** + * An error occured opening the named file. + */ + DeclException1 (ExcFileNotOpen, + char*, + << "Could not open file " << arg1); + /** * Exception denoting a part of the * library or application program diff --git a/deal.II/doc/news/2001/c-3-2.html b/deal.II/doc/news/2001/c-3-2.html index 5670dcf24a..2645479070 100644 --- a/deal.II/doc/news/2001/c-3-2.html +++ b/deal.II/doc/news/2001/c-3-2.html @@ -107,6 +107,15 @@ documentation, etc.

base

    +
  1. + New: ExcFileNotOpen can be used + after initializing an fstream + object. This allows to avoid some cryptic ExcIOs. +
    + (GK 2001/12/18) +

    +
  2. Changed: The OutputStyle enum used to indicate the output format has been moved into the -- 2.39.5