portability issue error messages
[vamsas.git] / src / uk / ac / vamsas / client / simpleclient / SessionFile.java
index 9a27f5e..318c830 100644 (file)
@@ -125,9 +125,9 @@ public class SessionFile {
               fileLock.length());
           tos.close();
           if (!channel.isOpen())
-            throw new Error(tos.getChannel().getClass()+".transferFrom closes source channel!");
+            throw new Error("LIBRARY PORTABILITY ISSUE: "+tos.getChannel().getClass()+".transferFrom closes source channel!");
           if (!lockFile(extantLock))
-            throw new Error("Lost lock for "+sessionFile.getName()+" after backup.");
+            throw new Error("LIBRARY PORTABILITY ISSUE: Lost lock for "+sessionFile.getName()+" after backup.");
           
         }
       } catch (FileNotFoundException e1) {