[Patchanim-commit] SF.net SVN: patchanim: [248] trunk/patchanim/src/com/mebigfatguy/patchanim/ io
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2008-06-07 22:58:32
|
Revision: 248
http://patchanim.svn.sourceforge.net/patchanim/?rev=248&view=rev
Author: dbrosius
Date: 2008-06-07 15:57:14 -0700 (Sat, 07 Jun 2008)
Log Message:
-----------
WEM fixes
Modified Paths:
--------------
trunk/patchanim/src/com/mebigfatguy/patchanim/io/PatchAnimIO.java
trunk/patchanim/src/com/mebigfatguy/patchanim/io/PatchExporter.java
Modified: trunk/patchanim/src/com/mebigfatguy/patchanim/io/PatchAnimIO.java
===================================================================
--- trunk/patchanim/src/com/mebigfatguy/patchanim/io/PatchAnimIO.java 2008-06-07 22:53:31 UTC (rev 247)
+++ trunk/patchanim/src/com/mebigfatguy/patchanim/io/PatchAnimIO.java 2008-06-07 22:57:14 UTC (rev 248)
@@ -75,7 +75,7 @@
} catch (IOException ioe) {
throw ioe;
} catch (Exception e) {
- IOException ioe = new IOException("Failed saving document");
+ IOException ioe = new IOException("Failed saving document " + f.getPath());
ioe.initCause(e);
throw ioe;
} finally {
@@ -104,7 +104,7 @@
} catch (IOException ioe) {
throw ioe;
} catch (Exception e) {
- IOException ioe = new IOException("Failed loading document");
+ IOException ioe = new IOException("Failed loading document " + f.getPath());
ioe.initCause(e);
throw ioe;
} finally {
Modified: trunk/patchanim/src/com/mebigfatguy/patchanim/io/PatchExporter.java
===================================================================
--- trunk/patchanim/src/com/mebigfatguy/patchanim/io/PatchExporter.java 2008-06-07 22:53:31 UTC (rev 247)
+++ trunk/patchanim/src/com/mebigfatguy/patchanim/io/PatchExporter.java 2008-06-07 22:57:14 UTC (rev 248)
@@ -131,7 +131,7 @@
try {
writeSingleFile(pce.getImage(), imageIndex++, loc, baseName, type);
} catch (IOException ioe) {
- InterruptedException ie = new InterruptedException("Failed saving animation");
+ InterruptedException ie = new InterruptedException("Failed saving animation at index " + (imageIndex-1));
ie.initCause(ioe);
throw ie;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|