From cba3e7ea666ddfb85a71618dbe135f99740bb8f0 Mon Sep 17 00:00:00 2001 From: wolf Date: Thu, 26 Sep 2002 16:01:27 +0000 Subject: [PATCH] Add an exception git-svn-id: https://svn.dealii.org/trunk@6529 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/include/lac/sparse_direct.h | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/deal.II/lac/include/lac/sparse_direct.h b/deal.II/lac/include/lac/sparse_direct.h index 73aa378f40..0c757bd43f 100644 --- a/deal.II/lac/include/lac/sparse_direct.h +++ b/deal.II/lac/include/lac/sparse_direct.h @@ -152,7 +152,9 @@ * your program: you can still acquire and release the lock as before, * it will only have no effect now, since different objects of this * class no longer share the lock, i.e. you will get it always without - * waiting. + * waiting. On the other hand, it will prevent that you call functions + * of this object multiply in parallel at the same time, which is what + * you probably wanted. * * @author Wolfgang Bangerth, 2000, 2001, 2002 */ @@ -327,7 +329,15 @@ class SparseDirectMA27 : public Subscriptor * Exception */ DeclException0 (ExcDifferentSparsityPatterns); - + /** + * Exception + */ + DeclException2 (ExcReadError, + int, int, + << "Error while reading in detached mode. Return value " + << "for 'read' was " << arg1 + << ", errno has value " << arg2); + private: /** * Declare a local type which -- 2.39.5