Class TranslationBundleException

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.Class bundleClass  
      private java.util.Locale locale  
      private static long serialVersionUID  
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Class getBundleClass()
      Get bundle class
      java.util.Locale getLocale()
      Get locale for which the exception occurred
      • 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
    • Field Detail

      • bundleClass

        private final java.lang.Class bundleClass
      • locale

        private final java.util.Locale locale
    • Constructor Detail

      • TranslationBundleException

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

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