public GoXrefHelper(String goId){ if (goId == null){ throw new IllegalArgumentException("The goId shouldn't be null"); } goServer = new GoServerProxy(); try { goResponse = goServer.query(goId); qualifier = goResponse.getCategory(); secondaryId = goResponse.getName(); } catch (IOException e) { System.out.println("The qualifier and the secondaryId corresponding to GoId " + goId + " couldn't be found automatically"); } catch (GoServerProxy.GoIdNotFoundException e) { System.out.println("The qualifier and the secondaryId corresponding to GoId " + goId + " couldn't be found automatically"); } }