List of usage examples for com.vaadin.client LocaleNotLoadedException LocaleNotLoadedException
public LocaleNotLoadedException(String locale)
From source file:com.vaadin.client.DateTimeService.java
License:Apache License
public void setLocale(String locale) throws LocaleNotLoadedException { if (!LocaleService.getAvailableLocales().contains(locale)) { throw new LocaleNotLoadedException(locale); }//w ww . j a va 2s .c o m this.locale = locale; }