Class LocaleNotSupportedException

  • All Implemented Interfaces:
    java.io.Serializable

    public class LocaleNotSupportedException
    extends java.lang.RuntimeException
    Indicates an attempt to use an invalid or unsupported ISO code with the localized data.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      LocaleNotSupportedException​(java.util.Locale locale)
      Constructor to create LanguageTagNotSupportedException
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getLanguage()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • LocaleNotSupportedException

        public LocaleNotSupportedException​(java.util.Locale locale)
        Constructor to create LanguageTagNotSupportedException
        Parameters:
        locale - locale that does not correspond to an existing LanguageModel
    • Method Detail

      • getLanguage

        public java.lang.String getLanguage()