Beginnings of Whirled service which is a system for building worlds made
of interconnected scenes on top of the Cocktail services. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@228 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
//
|
||||
// $Id: NoSuchSceneException.java,v 1.1 2001/08/11 04:09:51 mdb Exp $
|
||||
|
||||
package com.threerings.whirled.util;
|
||||
|
||||
/**
|
||||
* Thrown when an attempt to load a non-existent scene is made on the
|
||||
* repository.
|
||||
*/
|
||||
public class NoSuchSceneException extends Exception
|
||||
{
|
||||
public NoSuchSceneException (int sceneid)
|
||||
{
|
||||
super("No such scene [sceneid=" + sceneid + "]");
|
||||
_sceneid = sceneid;
|
||||
}
|
||||
|
||||
public int getSceneId ()
|
||||
{
|
||||
return _sceneid;
|
||||
}
|
||||
|
||||
protected int _sceneid;
|
||||
}
|
||||
Reference in New Issue
Block a user