Emit a warning with specified locator.

@param message the warning message
@throws SAXException if something goes wrong
324883
public void warn(String message, Locator overrideLocator) throws SAXException {
        if (errorHandler != null) {
            SAXParseException spe = new SAXParseException(message, overrideLocator);
            errorHandler.warning(spe);
        }
    }
950331
void reportError (String message)
    throws SAXException
    {
    if (errorHandler != null)
        errorHandler.error(makeException(message));
    }
504388
public void trace(Object message) {
        differentiatedLog(null, LOGGER_FQCN, LocationAwareLogger.TRACE_INT, message, null);
    }
806748
@Deprecated
  public void warn(String message, Throwable t)
  {
    log.warn(message, t);
  }
216190
public static void warn(Object message) {
		log(Level.WARN, message, null, (Object[])null);
	}
598588
public void warning(SAXParseException e) throws SAXException
  {
    // This is not great, but we really would rather have the error 
    // handler be the error listener if it is a error handler.  Coroutine's fatalError 
    // can't really be configured, so I think this is the best thing right now 
    // for error reporting.  Possibly another JAXP 1.1 hole.  -sb
    javax.xml.transform.ErrorListener errorListener = m_transformer.getErrorListener();
    if(errorListener instanceof ErrorHandler)
    {
      ((ErrorHandler)errorListener).warning(e);
    }
    else
    {
      try
      {
        errorListener.warning(new javax.xml.transform.TransformerException(e));
      }
      catch(javax.xml.transform.TransformerException te)
      {
        throw e;
      }
    }
  }
391136
protected void addWarningMarker(File file, String message, ILexLocation location,
			String sourceId)
	{
		FileUtility.addMarker(project.findIFile( file),message,location,IMarker.SEVERITY_WARNING,sourceId,-1);
	}
1049879
public void setWarningMessage(String message) {

        m_messageText.setInnerText(message);
        addStyleName(formCss().hasWarning());
        m_hasError = true;
    }
1368923
void reportWarning(String msg, Element e) {
    messager.printMessage(Diagnostic.Kind.WARNING, msg, e);
  }
721500
public static void warn(final Object message, final Throwable t) {
        warnStream.println(APP_WARN + message.toString());
        warnStream.println(stackTraceToString(t));
    }
1231284
@Override
    public void warning(String message) {
        if(this.logger.isWarnEnabled()) {
            this.logger.warn(buildMessage(message));
        }
    }
1131683
public void warn(final Marker marker, final String message, final Object object) {
        log.warn(marker, sanitize(message), object);
    }
1101494
public void warn(String format, Object arg) {
        if (!logger.isWarnEnabled())
            return;

        if (instanceofLAL) {
            String formattedMessage = MessageFormatter.format(format, arg).getMessage();
            ((LocationAwareLogger) logger).log(null, fqcn, LocationAwareLogger.WARN_INT, formattedMessage, new Object[] { arg }, null);
        } else {
            logger.warn(format, arg);
        }
    }
165477
public void warn(final IJNRPEExecutionContext ctx, final String message) {
        postEvent(ctx, new LogEvent(source, LogEventType.WARNING, message));
    }
270389
public void warn(String format, Object arg1, Object arg2) {
        if (!logger.isWarnEnabled())
            return;

        if (instanceofLAL) {
            String formattedMessage = MessageFormatter.format(format, arg1, arg2).getMessage();
            ((LocationAwareLogger) logger).log(null, fqcn, LocationAwareLogger.WARN_INT, formattedMessage, new Object[] { arg1, arg2 }, null);
        } else {
            logger.warn(format, arg1, arg2);
        }
    }
11525
public void warn(String msg) {
        if (logger.isLoggable(Level.WARNING)) {
            log(SELF, Level.WARNING, msg, null);
        }
    }
880359
public static void message(String message, Throwable e) {
    if(message == null && e != null) {
      message = e.getMessage();
    }
    logExpensive(Level.INFO, message, e);
  }