Package eu.planets_project.tb.impl.exceptions

Examples of eu.planets_project.tb.impl.exceptions.InvalidInputException


    if (tokenizer.countTokens()==3){
      if(!this.vExpObjectTypes.contains(mimeType))
        this.vExpObjectTypes.remove(mimeType)
    }
    else{
      throw new InvalidInputException("ExperimentedObject MIME Type "+mimeType+" is not supported");
    }
  }
View Full Code Here


      String[] litRef= references.get(i);
      if(litRef.length>=2){//saying that we must have a desc and URI
        this.addLiteratureReference(litRef[0], litRef[1], litRef[2], litRef[3]);
      }
      else{
        throw new InvalidInputException("LiteraturReference List not supported");
      }
    }
  }
View Full Code Here

  public void setExperimentStructureReference(Experiment expStructure) throws InvalidInputException{
    if(expStructure.getEntityID()>0){
      this.lExperimentStructureReference = expStructure.getEntityID();
    }
    else{
      throw new InvalidInputException("ExperimentStructureReference "+expStructure +" does not contain a valid EntityID");
    }
   
  }
View Full Code Here

TOP

Related Classes of eu.planets_project.tb.impl.exceptions.InvalidInputException

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.