Class TranslationBundleException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.jgit.errors.TranslationBundleException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
TranslationBundleLoadingException, TranslationStringMissingException

public abstract class TranslationBundleException extends RuntimeException
Common base class for all translation bundle related exceptions.
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • bundleClass

      private final Class bundleClass
    • locale

      private final Locale locale
  • Constructor Details

    • 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 Details

    • 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