Package com.lokalized

Class UnsupportedLocaleException

All Implemented Interfaces:

@NotThreadSafe public class UnsupportedLocaleException extends RuntimeException
Exception thrown when an operation was performed on a locale that is not recognized by the system.

This class is intended for use by a single thread.

Mark Allen
See Also:
  • Constructor Details

    • UnsupportedLocaleException

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

    • getLocale

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