Whoops, wrong error code.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2338 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2003-03-27 16:04:26 +00:00
parent 07a426fe9b
commit 5bf27ca281
@@ -1,5 +1,5 @@
//
// $Id: SpotSceneManager.java,v 1.34 2003/03/27 00:10:08 mdb Exp $
// $Id: SpotSceneManager.java,v 1.35 2003/03/27 16:04:26 mdb Exp $
package com.threerings.whirled.spot.server;
@@ -185,7 +185,7 @@ public class SpotSceneManager extends SceneManager
// let our derived classes decide if this is an OK place to stand
if (!validateLocation(source, loc)) {
throw new InvocationException(INTERNAL_ERROR);
throw new InvocationException(INVALID_LOCATION);
}
// update the user's location information in the scene which will