Files
narya/src/java/com/threerings/media/tile/NoSuchTileException.java
T
Michael Bayne 103fcde490 Include the source tileset in the NoSuchTileException.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2239 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-04 21:38:46 +00:00

25 lines
489 B
Java

//
// $Id: NoSuchTileException.java,v 1.3 2003/02/04 21:38:46 mdb Exp $
package com.threerings.media.tile;
/**
* Thrown when an attempt is made to retrieve a non-existent tile from the
* tile manager.
*/
public class NoSuchTileException extends RuntimeException
{
public NoSuchTileException (TileSet set, int tid)
{
super("No such tile [set=" + set + ", tid=" + tid + "]");
_tid = tid;
}
public int getTileId ()
{
return _tid;
}
protected int _tid;
}