From: hartmann Date: Fri, 23 Sep 2005 08:10:38 +0000 (+0000) Subject: Add exception. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52a59246a1d831a7203e1febfa619afeda3adf76;p=dealii-svn.git Add exception. git-svn-id: https://svn.dealii.org/trunk@11512 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/grid/grid_in.cc b/deal.II/deal.II/source/grid/grid_in.cc index 3af2cc0a32..d40b56f498 100644 --- a/deal.II/deal.II/source/grid/grid_in.cc +++ b/deal.II/deal.II/source/grid/grid_in.cc @@ -1444,13 +1444,9 @@ void GridIn::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: