class LocalizationUtil {

    public static String resolveMessage(LocalizableValidationException e, Operation op) {

        Locale requested;
        if (op == null) {
            Logger.getAnonymousLogger().fine("Request not provided for localization, using default locale.");
            requested = DEFAULT_LOCALE;
        } else {
            requested = resolveLocale(op);
        }
        return resolveMessage(e, requested);
    }

    private  LocalizationUtil();

}