Interface TranslatableException

    • Method Detail

      • getMessageKey

        String getMessageKey()
        Returns:
        message key (used for lookup with I18nUtil)
      • getMessage

        String getMessage()
        Already implemented by Throwable.
        Returns:
        message for default locale
      • getLocalizedMessage

        String getLocalizedMessage()
        Already implemented by Throwable.
        Returns:
        message for default locale
      • getLocalizedMessage

        default String getLocalizedMessage​(Context context)
        Parameters:
        context - current DSpace context (used to infer current locale)
        Returns:
        message for current locale (or default locale if current locale did not yield a result)