src/main/java/com/hedera/hashgraph/identity/hcs/MessageListener.java
/**
   * Reports invalid message to the handler.
   *
   * @param response The mirror response.
   * @param reason   The reason why message validation failed.
   */
Reports invalid message to the handler.
@param response The mirror response.
@param reason   The reason why message validation failed.
Reports invalid message to the handler . @param response The mirror response . @param reason The reason why message validation failed .
protected void reportInvalidMessage(final TopicMessage response, final String reason) {
    if (invalidMessageHandler != null) {
      invalidMessageHandler.accept(response, reason);
    }
  }
protected void reportInvalidMessage ( final TopicMessage response , final String reason ) { if ( invalidMessageHandler != null ) { invalidMessageHandler . accept ( response , reason ) ; } }
Reports invalid message to the handler.
Reports invalid message to the handler .