changeset 908:197acee9bac5

fix ioexception for java 1.5.
author robcast
date Fri, 20 May 2011 14:25:18 +0200
parents 52598b5e5518
children d5d99a9eb5dd
files common/src/main/java/digilib/io/FileOpException.java
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/common/src/main/java/digilib/io/FileOpException.java	Tue May 10 09:56:43 2011 +0200
+++ b/common/src/main/java/digilib/io/FileOpException.java	Fri May 20 14:25:18 2011 +0200
@@ -34,6 +34,9 @@
 	}
 
     public FileOpException(String message, Throwable cause) {
+        /* only Java6, sigh.
         super(message, cause);
+        */
+        super(message+" caused by "+cause.toString());
     }
 }