Interface IErrorMessageSource


  • public interface IErrorMessageSource
    Interface representing a message source that stores messages by key and can perform variable substitution.
    Since:
    1.2.6
    Author:
    Igor Vaynberg (ivaynberg)
    • Method Detail

      • getMessage

        String getMessage​(String key,
                          Map<String,​Object> vars)
        Retrieves a message with the given key.
        Parameters:
        key - a message key
        vars - variables to substitute
        Returns:
        message or null if not found