Class I18nErrorMessageProvider

java.lang.Object
com.atlassian.confluence.impl.health.I18nErrorMessageProvider
All Implemented Interfaces:
ErrorMessageProvider

public class I18nErrorMessageProvider extends Object implements ErrorMessageProvider
Production implementation of ErrorMessageProvider.
Since:
6.13
  • Constructor Details

    • I18nErrorMessageProvider

      public I18nErrorMessageProvider()
  • Method Details

    • getErrorMessage

      public String getErrorMessage(String key, Object... args)
      Description copied from interface: ErrorMessageProvider
      Returns an error message based off the specified key and arguments.
      Specified by:
      getErrorMessage in interface ErrorMessageProvider
      Parameters:
      key - to lookup the message by.
      args - used to format the message.
      Returns:
      formatted error message.