]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Make global exceptions derived from the standard <exception> class.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 31 Oct 1998 23:40:46 +0000 (23:40 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 31 Oct 1998 23:40:46 +0000 (23:40 +0000)
git-svn-id: https://svn.dealii.org/trunk@617 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/include/base/exceptions.h

index f94d173db7374684d2149cbb5ab9e7f95d0b4ba0..b3293c7683c3b89b3dcde06e3d67e2bc81a5d1de 100644 (file)
@@ -429,9 +429,14 @@ class Exception5 : public ExceptionBase {                             \
                           way.
 */
 
-//#include <exception>
+#include <exception>
 
-class GlobalExcIO// : public exception
+
+/**
+ * Exception class to be thrown whenever an I/O operation in the library
+ * fails.
+ */
+class GlobalExcIO : public exception
 {
   public:
     virtual const char * what () const {

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.