class NodeTemplateUtils {

    public static Capability getCapabilityByTypeOrFail(NodeTemplate nodeTemplate, String capabilityType) {
        Capability capability = getCapabilityByType(nodeTemplate, capabilityType);
        if (capability == null) {
            throw new NotFoundException("");
        }
        return capability;
    }

    private  NodeTemplateUtils();

}