X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fws%2Febi%2FEBIFetchClient.java;fp=src%2Fjalview%2Fws%2Febi%2FEBIFetchClient.java;h=3eef460bc9bb8f46ae803fa8c2889ff27373271b;hb=b122ba188c2ffcbb302809bafc02058e355643ee;hp=65b96558944f98c518d04f84002c916edbd45884;hpb=e91b3bef83f320e13c59ad5d21d69f0abf3d7507;p=jalview.git diff --git a/src/jalview/ws/ebi/EBIFetchClient.java b/src/jalview/ws/ebi/EBIFetchClient.java index 65b9655..3eef460 100644 --- a/src/jalview/ws/ebi/EBIFetchClient.java +++ b/src/jalview/ws/ebi/EBIFetchClient.java @@ -136,8 +136,8 @@ public class EBIFetchClient String database = parseIds(ids, querystring); if (database == null) { - System.err.println("Invalid Query string : '" + ids + "'"); - System.err.println("Should be of form 'dbname:q1;q2;q3;q4'"); + jalview.bin.Console.errPrintln("Invalid Query string : '" + ids + "'"); + jalview.bin.Console.errPrintln("Should be of form 'dbname:q1;q2;q3;q4'"); return null; } @@ -227,11 +227,11 @@ public class EBIFetchClient } return (String[]) arl.toArray(); } - System.err.println( + jalview.bin.Console.errPrintln( "Warning: response code " + responseCode + " for " + url); } catch (OutOfMemoryError er) { - System.out.println("OUT OF MEMORY DOWNLOADING QUERY FROM " + database + jalview.bin.Console.outPrintln("OUT OF MEMORY DOWNLOADING QUERY FROM " + database + ":\n" + ids); throw er; } catch (Exception ex) @@ -239,7 +239,7 @@ public class EBIFetchClient if (!ex.getMessage().startsWith( "uk.ac.ebi.jdbfetch.exceptions.DbfNoEntryFoundException")) { - System.err.println("Unexpected exception when retrieving from " + jalview.bin.Console.errPrintln("Unexpected exception when retrieving from " + database + "\nQuery was : '" + ids + "'"); ex.printStackTrace(System.err); }