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
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user