Package org.cipres.treebase.web.exceptions

Examples of org.cipres.treebase.web.exceptions.NoStudySpecifiedError


    Map<String,String []> param = request.getParameterMap();
    LOGGER.info("in formBackingObject");
    theStudy = null;
    {
      Long studyID = getIDParam(param, "id");
      if (studyID == null) { throw new NoStudySpecifiedError("No study was found"); }
      theStudy = getStudyService().findByID(studyID);
      if (theStudy == null) { throw new UnknownStudyError(); }
      LOGGER.debug("formBackingObject found study " + theStudy);
      if ( ! theStudy.isPublished() ) {
        // we assume access is denied, unless specifically granted!
View Full Code Here

TOP

Related Classes of org.cipres.treebase.web.exceptions.NoStudySpecifiedError

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.