code: public void execute(
            TransformerImpl transformer)
              throws TransformerException
    {
  
      String data = transformer.transformToString(this);
  
      transformer.getMsgMgr().message(this, data, m_terminate);
      
      if(m_terminate)
        transformer.getErrorListener().fatalError(new TransformerException(XSLMessages.createMessage(XSLTErrorResources.ER_STYLESHEET_DIRECTED_TERMINATION, null))); //"Stylesheet directed termination"));
    }
docs: Send a message to diagnostics.
  The xsl:message instruction sends a message in a way that
  is dependent on the XSLT transformer. The content of the xsl:message
  instruction is a template. The xsl:message is instantiated by
  instantiating the content to create an XML fragment. This XML
  fragment is the content of the message.
  
  @param transformer non-null reference to the the current transform-time state.
  
  @throws TransformerException