class Transformation {

    public static @Nullable String transform(String type, String function, String value) {
        Logger logger = LoggerFactory.getLogger(Transformation.class);
        String result;
        try {
            result = trans(type, function, value);
        } catch (TransformationException e) {
            logger.debug("Error executing the transformation '{}': {}", type, e.getMessage());
            result = value;
        }
        return result;
    }

}