public class LocaleFormatter extends java.lang.Object implements AppianErrorCodeFormatter, AppianErrorCodeTitleFormatter
Constructor and Description |
---|
LocaleFormatter(java.util.Locale locale) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
format(AppianErrorCode errorCode,
java.lang.Object... arguments) |
java.lang.String |
formatTitle(AppianErrorCode errorCode,
java.lang.Object... arguments)
Returns the localized title, rendered with the included arguments if the error title supports them.
|
public java.lang.String format(AppianErrorCode errorCode, java.lang.Object... arguments)
format
in interface AppianErrorCodeFormatter
public java.lang.String formatTitle(AppianErrorCode errorCode, java.lang.Object... arguments)
formatTitle
in interface AppianErrorCodeTitleFormatter
errorCode
- The code corresponding to the thrown exceptionarguments
- Additional parameters required to render the titleCopyright © 2003-2024 Appian Corporation. All Rights Reserved.