]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add exception.
authorRalf Hartmann <Ralf.Hartmann@dlr.de>
Fri, 23 Sep 2005 08:10:38 +0000 (08:10 +0000)
committerRalf Hartmann <Ralf.Hartmann@dlr.de>
Fri, 23 Sep 2005 08:10:38 +0000 (08:10 +0000)
git-svn-id: https://svn.dealii.org/trunk@11512 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/grid/grid_in.cc

index 3af2cc0a32b1729b2fce9bc793c4deac69ef394b..d40b56f498e35c772796276ff5a1c743f977373c 100644 (file)
@@ -1444,13 +1444,9 @@ void GridIn<dim>::read (std::istream& in,
        return;
 
       case netcdf:
-                                            // there is no
-                                            // read_netcdf(istream &)
-                                            // function. Use the
-                                            // read_netcdf(const
-                                            // string &filename
-                                            // function instead
-       Assert(false, ExcNotImplemented());
+       Assert(false, ExcMessage("There is no read_netcdf(istream &) function. "
+                                "Use the read(_netcdf)(string &filename) "
+                                "functions, instead."));
        return;
 
       case Default:

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.