ad7b64d4a1
Made TileSet an interface. Throw exceptions for unknown tile or tile set requests. General clean-up and documentation. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@427 542714f4-19e9-0310-aa3c-eee0fc999fb1
25 lines
490 B
Java
25 lines
490 B
Java
//
|
|
// $Id: NoSuchTileSetException.java,v 1.1 2001/10/11 00:41:26 shaper Exp $
|
|
|
|
package com.threerings.media.tile;
|
|
|
|
/**
|
|
* Thrown when an attempt is made to retrieve a non-existent tile set
|
|
* from the tile set manager.
|
|
*/
|
|
public class NoSuchTileSetException extends TileException
|
|
{
|
|
public NoSuchTileSetException (int tsid)
|
|
{
|
|
super("No such tile set [tsid=" + tsid + "]");
|
|
_tsid = tsid;
|
|
}
|
|
|
|
public int getTileSetId ()
|
|
{
|
|
return _tsid;
|
|
}
|
|
|
|
protected int _tsid;
|
|
}
|