From: jprocter Date: Fri, 17 Aug 2007 13:22:08 +0000 (+0000) Subject: portability issue error messages X-Git-Tag: Release_0.2~89 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;ds=sidebyside;h=771b8794fb7d6c3222f2e7f12b935d9e73cf239f;p=vamsas.git portability issue error messages git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@431 be28352e-c001-0410-b1a7-c7978e42abec --- diff --git a/src/uk/ac/vamsas/client/simpleclient/SessionFile.java b/src/uk/ac/vamsas/client/simpleclient/SessionFile.java index 9a27f5e..318c830 100644 --- a/src/uk/ac/vamsas/client/simpleclient/SessionFile.java +++ b/src/uk/ac/vamsas/client/simpleclient/SessionFile.java @@ -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) {