Package com.appiancorp.exceptions
Interface AppianErrorCodeTitleFormatter
- All Known Implementing Classes:
LocaleFormatter
public interface AppianErrorCodeTitleFormatter
Callback used to format an AppianErrorCode's title.
-
Method Summary
Modifier and TypeMethodDescriptionformatTitle
(AppianErrorCode errorCode, Object... args) Returns the error title rendered with the included arguments.
-
Method Details
-
formatTitle
Returns the error title rendered with the included arguments.- Parameters:
errorCode
- The code corresponding to the thrown exceptionargs
- Additional parameters required to render the title- Returns:
- The title, localized and rendered with the included arguments where applicable.
-