Use FunctionUtils to get rid of try/catch in lambda.