From 45f7d96d70f9e55a434361e2442ab310b984620e Mon Sep 17 00:00:00 2001 From: Walter Korman Date: Wed, 6 Feb 2002 19:33:36 +0000 Subject: [PATCH] Include the mapfile path in build exception messages. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@945 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- .../cast/bundle/tools/ComponentBundlerTask.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/java/com/threerings/cast/bundle/tools/ComponentBundlerTask.java b/src/java/com/threerings/cast/bundle/tools/ComponentBundlerTask.java index d3d0cde17..47c3c524d 100644 --- a/src/java/com/threerings/cast/bundle/tools/ComponentBundlerTask.java +++ b/src/java/com/threerings/cast/bundle/tools/ComponentBundlerTask.java @@ -1,5 +1,5 @@ // -// $Id: ComponentBundlerTask.java,v 1.3 2002/02/05 20:29:09 mdb Exp $ +// $Id: ComponentBundlerTask.java,v 1.4 2002/02/06 19:33:36 shaper Exp $ package com.threerings.cast.bundle.tools; @@ -205,7 +205,8 @@ public class ComponentBundlerTask extends Task broker = new HashMapIDBroker(); } catch (Exception e) { - throw new BuildException("Error loading component ID map.", e); + throw new BuildException("Error loading component ID map " + + "[mapfile=" + mapfile + "].", e); } return broker; @@ -224,7 +225,8 @@ public class ComponentBundlerTask extends Task oout.writeObject(broker); oout.close(); } catch (IOException ioe) { - throw new BuildException("Unable to store component ID map.", ioe); + throw new BuildException("Unable to store component ID map " + + "[mapfile=" + mapfile + "].", ioe); } }