portability issue error messages
authorjprocter <jprocter@compbio.dundee.ac.uk>
Fri, 17 Aug 2007 13:22:08 +0000 (13:22 +0000)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Fri, 17 Aug 2007 13:22:08 +0000 (13:22 +0000)
git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@431 be28352e-c001-0410-b1a7-c7978e42abec

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) {