Package org.fao.geonet.exceptions

Examples of org.fao.geonet.exceptions.BadInputEx


        for (SchematronCriteria schematronCriteria : group.getCriteria()) {
            newGroup.addCriteria(schematronCriteria.copy());
        }

        if (group.getId().equals(newGroup.getId())) {
            throw new BadInputEx(PARAM_NEW_GROUP_NAME + " and " + PARAM_NEW_SCHEMATRON_ID +
                                 " have the same value as the old values", newGroupName+":"+newSchematronId){};
        }

        repository.delete(group.getId());
        repository.saveAndFlush(newGroup);
View Full Code Here

TOP

Related Classes of org.fao.geonet.exceptions.BadInputEx

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.