From 96f3d8e58e20a14c94f7edafdc465fcf0d7c0cc7 Mon Sep 17 00:00:00 2001 From: Ray Greenwell Date: Tue, 23 May 2006 23:16:14 +0000 Subject: [PATCH] Avoid pointless usage of a server class. The first clue should have been that it was a server class... ;) git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4142 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- .../threerings/whirled/spot/client/SpotSceneDirector.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/java/com/threerings/whirled/spot/client/SpotSceneDirector.java b/src/java/com/threerings/whirled/spot/client/SpotSceneDirector.java index aaf681d88..5e146249c 100644 --- a/src/java/com/threerings/whirled/spot/client/SpotSceneDirector.java +++ b/src/java/com/threerings/whirled/spot/client/SpotSceneDirector.java @@ -28,7 +28,6 @@ import com.threerings.presents.client.BasicDirector; import com.threerings.presents.client.Client; import com.threerings.presents.client.InvocationService.ConfirmListener; import com.threerings.presents.data.ClientObject; -import com.threerings.presents.server.InvocationException; import com.threerings.presents.dobj.AttributeChangeListener; import com.threerings.presents.dobj.AttributeChangedEvent; import com.threerings.presents.dobj.DObject; @@ -222,8 +221,7 @@ public class SpotSceneDirector extends BasicDirector Log.warning("Requested to change locations, but we're not " + "currently in any scene [loc=" + loc + "]."); if (listener != null) { - listener.requestFailed( - new InvocationException("m.cant_get_there")); + listener.requestFailed(new Exception("m.cant_get_there")); } return; } @@ -245,7 +243,7 @@ public class SpotSceneDirector extends BasicDirector public void requestFailed (String reason) { _pendingLoc = null; if (listener != null) { - listener.requestFailed(new InvocationException(reason)); + listener.requestFailed(new Exception(reason)); } } };