Package uk.ac.bbsrc.tgac.miso.core.exception

Examples of uk.ac.bbsrc.tgac.miso.core.exception.InterrogationException


  public PacBioService getPacBioService() throws InterrogationException {
    if (pacbioService != null) {
      return pacbioService;
    }
    else {
      throw new InterrogationException("Couldn't contact PacBio machine " + machineName + " at " + restLocation.toString());
    }
  }
View Full Code Here


  public SolidService getSolidService() throws InterrogationException {
    if (solidService != null) {
      return solidService;
    }
    else {
      throw new InterrogationException("Couldn't contact SOLiD machine " + machineName + " at " + wsdlLocation.toString());
    }
  }
View Full Code Here

            status.setRunName(statusDoc.getElementsByTagName("RunName").item(0).getTextContent());
            s.add(status);
          }
          catch (ParserConfigurationException e) {
            e.printStackTrace();
            throw new InterrogationException(e.getMessage());
          }
          catch (ParseException e) {
            e.printStackTrace();
            throw new InterrogationException(e.getMessage());
          }
          catch (TransformerException e) {
            e.printStackTrace();
            throw new InterrogationException(e.getMessage());
          }
        }
      }
    }
    return s;
View Full Code Here

        }
      }
    }
    catch (ParserConfigurationException e) {
      e.printStackTrace();
      throw new InterrogationException(e.getMessage());
    }
    catch (ParseException e) {
      e.printStackTrace();
      throw new InterrogationException(e.getMessage());
    }
    catch (TransformerException e) {
      e.printStackTrace();
      throw new InterrogationException(e.getMessage());
    }
    return null;
  }
View Full Code Here

            }
            s.add(status);
          }
          catch (ParserConfigurationException e) {
            e.printStackTrace();
            throw new InterrogationException(e.getMessage());
          }
          catch (ParseException e) {
            e.printStackTrace();
            throw new InterrogationException(e.getMessage());
          }
          catch (TransformerException e) {
            e.printStackTrace();
            throw new InterrogationException(e.getMessage());
          }
        }
      }
    }
    return s;
View Full Code Here

        }
      }
    }
    catch (ParserConfigurationException e) {
      e.printStackTrace();
      throw new InterrogationException(e.getMessage());
    }
    catch (ParseException e) {
      e.printStackTrace();
      throw new InterrogationException(e.getMessage());
    }
    catch (TransformerException e) {
      e.printStackTrace();
      throw new InterrogationException(e.getMessage());
    }
    return null;
  }
View Full Code Here

    else if (sr.getPlatform().getPlatformType().equals(PlatformType.SOLID)) {
      return new SequencerInterrogator(new SolidSequencerInterrogationStrategy(), sr);
    }
    else if (sr.getPlatform().getPlatformType().equals(PlatformType.IONTORRENT)) {
      //return new SequencerInterrogator(new SolidSequencerInterrogationStrategy(), sr);
      throw new InterrogationException("Unsupported PlatformType");
    }
    else if (sr.getPlatform().getPlatformType().equals(PlatformType.PACBIO)) {
      //return new SequencerInterrogator(new SolidSequencerInterrogationStrategy(), sr);
      throw new InterrogationException("Unsupported PlatformType");
    }
    else {
      throw new InterrogationException("Unrecognised PlatformType");
    }
  }
View Full Code Here

    try {
      return new Socket(sr.getIpAddress(), 7899);
    }
    catch (IOException e) {
      e.printStackTrace();
      throw new InterrogationException(e.getMessage());
    }
  }
View Full Code Here

      return clean;
    }
    catch (UnknownHostException e) {
      System.err.println("Cannot resolve host: " + socket.getInetAddress());
      throw new InterrogationException(e.getMessage());
    }
    catch (IOException e) {
      System.err.println("Couldn't get I/O for the connection to: " + socket.getInetAddress());
      throw new InterrogationException(e.getMessage());
    }
  }
View Full Code Here

TOP

Related Classes of uk.ac.bbsrc.tgac.miso.core.exception.InterrogationException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.