Goodbye, NestableIOException.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3788 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2005-12-20 02:09:18 +00:00
parent c7d36f9705
commit 7a64be94f2
7 changed files with 26 additions and 34 deletions
@@ -32,7 +32,6 @@ import java.util.Enumeration;
import java.util.jar.JarEntry;
import java.util.jar.JarFile;
import com.samskivert.io.NestableIOException;
import com.samskivert.io.StreamUtil;
import com.samskivert.util.FileUtil;
import com.samskivert.util.StringUtil;
@@ -372,11 +371,11 @@ public class ResourceBundle
return false;
} catch (IOException ioe) {
Log.warning("Failure reading jar file '" + _source + "'.");
String msg = "Failed to resolve resource bundle jar file '" +
_source + "'";
Log.warning(msg + ".");
Log.logStackTrace(ioe);
throw new NestableIOException(
"Failed to resolve resource bundle jar file '" +
_source + "'", ioe);
throw (IOException) new IOException(msg).initCause(ioe);
}
}