From 23e8558054ca1478232cc52885d750b421e424fa Mon Sep 17 00:00:00 2001
From: Oliver Sander <sander@dune-project.org>
Date: Wed, 24 Nov 2010 17:37:05 +0000
Subject: [PATCH] Replace ISTLException by RangeError

[[Imported from SVN: r6262]]
---
 dune/common/parallel/remoteindices.hh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dune/common/parallel/remoteindices.hh b/dune/common/parallel/remoteindices.hh
index 721f25564..1d040a9bb 100644
--- a/dune/common/parallel/remoteindices.hh
+++ b/dune/common/parallel/remoteindices.hh
@@ -5,7 +5,7 @@
 #define DUNE_REMOTEINDICES_HH
 
 #include "indexset.hh"
-#include "istlexception.hh"
+#include <dune/common/exceptions.hh>
 #include "plocalindex.hh"
 #include <dune/common/poolallocator.hh>
 #include <dune/common/sllist.hh>
@@ -544,7 +544,7 @@ namespace Dune {
     friend class RemoteIndices;
 
   public:
-    class InvalidPosition : public ISTLError
+    class InvalidPosition : public RangeError
     {};
 
     enum {
@@ -1602,13 +1602,13 @@ namespace Dune {
           ++index;
 #ifdef DUNE_ISTL_WITH_CHECKING
           if(index == indexSet_.end())
-            DUNE_THROW(ISTLError, "No such global index in set!");
+            DUNE_THROW(InvalidPosition, "No such global index in set!");
 #endif
         }
 
 #ifdef DUNE_ISTL_WITH_CHECKING
         if(index->global() != *giter)
-          DUNE_THROW(ISTLError, "No such global index in set!");
+          DUNE_THROW(InvalidPosition, "No such global index in set!");
 #endif
         iter->localIndex_ = &(*index);
       }
-- 
GitLab