Include the source tileset in the NoSuchTileException.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2239 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2003-02-04 21:38:46 +00:00
parent 019981ac71
commit 103fcde490
2 changed files with 5 additions and 5 deletions
@@ -1,5 +1,5 @@
//
// $Id: NoSuchTileException.java,v 1.2 2003/01/13 22:49:46 mdb Exp $
// $Id: NoSuchTileException.java,v 1.3 2003/02/04 21:38:46 mdb Exp $
package com.threerings.media.tile;
@@ -9,9 +9,9 @@ package com.threerings.media.tile;
*/
public class NoSuchTileException extends RuntimeException
{
public NoSuchTileException (int tid)
public NoSuchTileException (TileSet set, int tid)
{
super("No such tile [tid=" + tid + "]");
super("No such tile [set=" + set + ", tid=" + tid + "]");
_tid = tid;
}