/* * Genoogle: Similar DNA Sequences Searching Engine and Tools. (http://genoogle.pih.bio.br) * Copyright (C) 2008,2009 Felipe Fernandes Albrecht (felipe.albrecht@gmail.com) * * For further information check the LICENSE file. */ package bio.pih.genoogle.io; /** * @author albrecht * */ public class MultipleSequencesFoundException extends Exception { private static final long serialVersionUID = 4455366283906614223L; int sequenceId; String databank1, databank2; MultipleSequencesFoundException(int sequenceId, String databank1, String databank2) { this.sequenceId = sequenceId; this.databank1 = databank1; this.databank2 = databank2; } /** * @return sequence id. */ public int getSequenceId() { return sequenceId; } /** * @return one data bank where the sequence was found. */ public String getDatabank1() { return databank1; } /** * @return other data bank where the sequence was found. */ public String getDatabank2() { return databank2; } }