From 771b8794fb7d6c3222f2e7f12b935d9e73cf239f Mon Sep 17 00:00:00 2001 From: jprocter Date: Fri, 17 Aug 2007 13:22:08 +0000 Subject: [PATCH] portability issue error messages 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { -- 1.7.10.2