class ApplicationFundingDecisionServiceImpl implements ApplicationFundingDecisionService {

    public Optional<FundingDecision> getFundingDecisionForString(String val) {
        Optional<FundingDecision> fundingDecision = Optional.empty();

        try {
            fundingDecision = Optional.of(FundingDecision.valueOf(val));
        } catch (IllegalArgumentException e) {
            LOG.info("Funding decision string disallowed", e);
        }
        return fundingDecision;
    }

}