From f495557624ff20e55896d9ef960da2c8d02e99c2 Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Wed, 3 Apr 2002 22:20:50 +0000 Subject: [PATCH] Report the file on which we choked when we choke. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1176 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- .../media/tile/bundle/tools/TileSetBundler.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/java/com/threerings/media/tile/bundle/tools/TileSetBundler.java b/src/java/com/threerings/media/tile/bundle/tools/TileSetBundler.java index b97a2de4f..ff9e64503 100644 --- a/src/java/com/threerings/media/tile/bundle/tools/TileSetBundler.java +++ b/src/java/com/threerings/media/tile/bundle/tools/TileSetBundler.java @@ -1,5 +1,5 @@ // -// $Id: TileSetBundler.java,v 1.5 2002/04/01 16:49:26 mdb Exp $ +// $Id: TileSetBundler.java,v 1.6 2002/04/03 22:20:50 mdb Exp $ package com.threerings.media.tile.bundle.tools; @@ -131,7 +131,8 @@ public class TileSetBundler try { digester.parse(fin); } catch (SAXException saxe) { - String errmsg = "Failure parsing bundler config file."; + String errmsg = "Failure parsing bundler config file " + + "[file=" + configFile.getPath() + "]"; throw new NestableIOException(errmsg, saxe); } fin.close(); @@ -214,7 +215,8 @@ public class TileSetBundler try { _digester.parse(fin); } catch (SAXException saxe) { - String errmsg = "Failure parsing bundle description file."; + String errmsg = "Failure parsing bundle description file " + + "[path=" + bundleDesc.getPath() + "]"; throw new NestableIOException(errmsg, saxe); } finally { fin.close();