code: public void setMessage( Message message ) {
          Assert.notNull(message, "The message is required");
          Assert.hasText( message.getMessage(), "The message text is required" );
          this.message = message;
      }
docs: Set the message.
  
  @param message the message