Package com.lokalized

Class UnsupportedLocaleException

    • Constructor Detail

      • UnsupportedLocaleException

        public UnsupportedLocaleException​(@Nonnull
                                          Locale locale)
        Constructs a new exception with the unsupported locale.
        Parameters:
        locale - the unsupported locale which triggered this exception, not null
    • Method Detail

      • getLocale

        @Nonnull
        public Locale getLocale()
        The unsupported locale that triggered this exception.
        Returns:
        the unsupported locale, not null