Class TranslationBundleLoadingException

  • All Implemented Interfaces:
    java.io.Serializable

    public class TranslationBundleLoadingException
    extends TranslationBundleException
    This exception will be thrown when a translation bundle loading fails.
    See Also:
    Serialized Form
    • Method Summary

      • 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

      • TranslationBundleLoadingException

        public TranslationBundleLoadingException​(java.lang.Class bundleClass,
                                                 java.util.Locale locale,
                                                 java.lang.Exception cause)
        Construct a TranslationBundleLoadingException for the specified bundle class and locale.
        Parameters:
        bundleClass - the bundle class for which the loading failed
        locale - the locale for which the loading failed
        cause - the original exception thrown from the ResourceBundle.getBundle(String, Locale) method.