Package org.passay

Class AbstractMessageResolver

    • Constructor Detail

      • AbstractMessageResolver

        public AbstractMessageResolver()
    • Method Detail

      • getMessage

        protected abstract String getMessage​(String key)
        Returns the message for the supplied key.
        Parameters:
        key - which corresponds to a message
        Returns:
        message
      • resolve

        public String resolve​(RuleResultDetail detail)
        Description copied from interface: MessageResolver
        Resolves the message for the supplied rule result detail.
        Specified by:
        resolve in interface MessageResolver
        Parameters:
        detail - rule result detail
        Returns:
        message for the detail error code