code: public void setErrorListener(ErrorListener listener)
            throws IllegalArgumentException
    {
  
      if (null == listener)
        throw new IllegalArgumentException(XSLMessages.createMessage(XSLTErrorResources.ER_ERRORLISTENER, null));
        // "ErrorListener");
  
      m_errorListener = listener;
    }
docs: Set an error listener for the TransformerFactory.
  
  @param listener Must be a non-null reference to an ErrorListener.
  
  @throws IllegalArgumentException if the listener argument is null.