Class TranslationBundleException

    • Constructor Detail

      • TranslationBundleException

        protected TranslationBundleException​(String message,
                                             Class bundleClass,
                                             Locale locale,
                                             Exception cause)
        Construct an instance of TranslationBundleException
        Parameters:
        message - exception message
        bundleClass - bundle class for which the exception occurred
        locale - locale for which the exception occurred
        cause - original exception that caused this exception. Usually thrown from the ResourceBundle class.
    • Method Detail

      • getBundleClass

        public final Class getBundleClass()
        Get bundle class
        Returns:
        bundle class for which the exception occurred
      • getLocale

        public final Locale getLocale()
        Get locale for which the exception occurred
        Returns:
        locale for which the exception occurred