Class I18nErrorMessageProvider
- java.lang.Object
-
- com.atlassian.confluence.impl.health.I18nErrorMessageProvider
-
- All Implemented Interfaces:
ErrorMessageProvider
public class I18nErrorMessageProvider extends Object implements ErrorMessageProvider
Production implementation ofErrorMessageProvider
.- Since:
- 6.13
-
-
Constructor Summary
Constructors Constructor Description I18nErrorMessageProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getErrorMessage(String key, Object... args)
Returns an error message based off the specified key and arguments.
-
-
-
Method Detail
-
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 interfaceErrorMessageProvider
- Parameters:
key
- to lookup the message by.args
- used to format the message.- Returns:
- formatted error message.
-
-