class ResourceChecker {

    public HostPodVO checkIfPodExists(final Long hostPodId) {
        logger.debug("Checking if pod " + hostPodId + " exists");
        final HostPodVO pod = hostPodDao.findById(hostPodId);
        if (pod == null) {
            throw new InvalidParameterValueException("Can't find pod by id " + hostPodId);
        }
        return pod;
    }

    private  ResourceChecker(final Builder builder);

}