From 22a221cb9df94d72c4d236526e8d4d72d8570830 Mon Sep 17 00:00:00 2001 From: Ida Massow Date: Tue, 10 May 2011 16:55:25 +0200 Subject: StoneSet hat andere Exception git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@230 72836036-5685-4462-b002-a69064685172 --- src/jrummikub/model/StoneSet.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/jrummikub/model') diff --git a/src/jrummikub/model/StoneSet.java b/src/jrummikub/model/StoneSet.java index 83ce767..b798ad0 100644 --- a/src/jrummikub/model/StoneSet.java +++ b/src/jrummikub/model/StoneSet.java @@ -7,8 +7,6 @@ import java.util.Iterator; import java.util.List; import java.util.Set; -import sun.reflect.generics.reflectiveObjects.NotImplementedException; - import jrummikub.util.Pair; import static jrummikub.model.StoneSet.Type.*; @@ -219,7 +217,7 @@ public class StoneSet implements Iterable, Sizeable { public void remove() { // removing stones is impossible - throw new NotImplementedException(); + throw new UnsupportedOperationException(); } }; } -- cgit v1.2.3