]> https://gitweb.dealii.org/ - dealii.git/commitdiff
ExcFileNotOpen
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Tue, 18 Dec 2001 10:13:57 +0000 (10:13 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Tue, 18 Dec 2001 10:13:57 +0000 (10:13 +0000)
git-svn-id: https://svn.dealii.org/trunk@5340 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/include/base/exceptions.h
deal.II/doc/news/2001/c-3-2.html

index 57dddd2d5479d6c1d68a3c2e95cbb09bdeed9261..91d746b625c1eb3b04ce7523fdd14a8b471c2ad7 100644 (file)
@@ -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
index 5670dcf24a7cb97bf6466c4bbfe17817e85aa98a..2645479070f8295cb39fae5a240eb385c5ed8cb6 100644 (file)
@@ -107,6 +107,15 @@ documentation, etc</a>.
 <h3>base</h3>
 
 <ol>
+  <li> <p>
+       New: <code class="class">ExcFileNotOpen</code> can be used
+       after initializing an <code class="class">fstream</code>
+       object. This allows to avoid some cryptic <code
+       class="class">ExcIO</code>s.
+       <br>
+       (GK 2001/12/18)
+       </p>
+
   <li> <p>
        Changed: The <code class="class">OutputStyle</code> enum used
        to indicate the output format has been moved into the

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.