Class TranslationStringMissingException

All Implemented Interfaces:
Serializable

public class TranslationStringMissingException extends TranslationBundleException
This exception will be thrown when a translation string for a translation bundle and locale is missing.
See Also:
  • Field Details

  • Constructor Details

    • TranslationStringMissingException

      public TranslationStringMissingException(Class bundleClass, Locale locale, String key, Exception cause)
      Construct a TranslationStringMissingException for the specified bundle class, locale and translation key
      Parameters:
      bundleClass - the bundle class for which a translation string was missing
      locale - the locale for which a translation string was missing
      key - the key of the missing translation string
      cause - the original exception thrown from the ResourceBundle.getString(String) method.
  • Method Details

    • getKey

      public String getKey()
      Get the key of the missing translation string
      Returns:
      the key of the missing translation string