class Translator {

    public void setLocale(Locale locale) {
        if (locale == null) {
            throw new NullPointerException("Locale is null");
        } 
        try {
            bundle = ResourceBundle.getBundle("Bundle", locale);
        } catch (MissingResourceException e) {
            System.err.println();
            bundle = null;
        }
    }

    private  Translator();

}