Package org.rhq.enterprise.server.resource.group.definition.exception

Examples of org.rhq.enterprise.server.resource.group.definition.exception.GroupDefinitionNotFoundException


    }

    public GroupDefinition getById(int groupDefinitionId) throws GroupDefinitionNotFoundException {
        GroupDefinition groupDefinition = entityManager.find(GroupDefinition.class, groupDefinitionId);
        if (groupDefinition == null) {
            throw new GroupDefinitionNotFoundException("Group definition with specified id does not exist");
        }

        return groupDefinition;
    }
View Full Code Here

TOP

Related Classes of org.rhq.enterprise.server.resource.group.definition.exception.GroupDefinitionNotFoundException

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.