Class TranslationBundleException

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected TranslationBundleException​(java.lang.String message, java.lang.Class bundleClass, java.util.Locale locale, java.lang.Exception cause)
      To construct an instance of TranslationBundleException
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Class getBundleClass()  
      java.util.Locale getLocale()  
      • 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

      • TranslationBundleException

        protected TranslationBundleException​(java.lang.String message,
                                             java.lang.Class bundleClass,
                                             java.util.Locale locale,
                                             java.lang.Exception cause)
        To 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 java.lang.Class getBundleClass()
        Returns:
        bundle class for which the exception occurred
      • getLocale

        public final java.util.Locale getLocale()
        Returns:
        locale for which the exception occurred