Write a warn message to the logs

@param message   The warning message
@param exception
353685
public void warn(final String message, final Exception exception) {
        messages.add(new LogMessage(message + " " + exception.getMessage(), LogMessage.Type.WARN));
        log.warn(message, exception);
    }
1162892
public void warn(Throwable throwable, String msg, Object[] argArray) {
		logIfEnabled(Level.WARNING, throwable, msg, UNKNOWN_ARG, UNKNOWN_ARG, UNKNOWN_ARG, argArray);
	}
1098991
public final void warn(Object message, Throwable t) {
        if (isLevelEnabled(LOG_LEVEL_WARN)) {
            log(LOG_LEVEL_WARN, message, t);
        }
    }
265534
public void debug(Object message, Throwable exception) {
    log(Level.DEBUG, message, exception);
  }
171274
public void log(String message) {
        switch (level) {
        case TRACE:
            LOGGER.trace(message);
            break;
        case DEBUG:
            LOGGER.debug(message);
            break;
        case INFO:
            LOGGER.info(message);
            break;
        case WARN:
            LOGGER.warn(message);
            break;
        case ERROR:
            LOGGER.error(message);
            break;
        default:
            throw new XOException("Unsupported log log level " + level);
        }
    }
165477
public void warn(final IJNRPEExecutionContext ctx, final String message) {
        postEvent(ctx, new LogEvent(source, LogEventType.WARNING, message));
    }
110015
public static void printWarn(Object caller, Object message)
	{

		StringBuilder text = new StringBuilder();

		Class<?> c = callerBuilder(caller, text);

		if(message instanceof Throwable)
			getLog(c).warn(text.append(stackTrace((Throwable)message)));
		else
			getLog(c).warn(text.append(message));

	}
806748
@Deprecated
  public void warn(String message, Throwable t)
  {
    log.warn(message, t);
  }
1060902
public void addWarning(WarningMessage message) {
        if (message.isRelevant(configuration.getWarningLevel())) {
            if (this.warnings == null) {
                this.warnings = new LinkedList();
            }

            this.warnings.add(message);
        }
    }
784159
public void logDebug(String message, Exception exception) {
        if (!(logDebug || globalLog.logDebug))
            return;

        if (debugLog != null)
            log(debugLog, "DEBUG", owner, message, exception);
        else 
            log(globalLog.debugLog, "DEBUG", owner, message, exception);
    }
1084228
public static void logWarn(String message, Throwable t) {
		logWarn(message + SEP + getMessage(t));
	}
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);
        }
    }
1119177
public void warn(String message, Throwable e) {
		warn(message);
		e.printStackTrace(out);
	}
235425
public void warn(String message, Object ... args) {
    if (log.isWarnEnabled()) {
      log.warn(String.format(message, args));
    }
  }
721500
public static void warn(final Object message, final Throwable t) {
        warnStream.println(APP_WARN + message.toString());
        warnStream.println(stackTraceToString(t));
    }
765689
public void warn(String msg, Throwable t)
	{
		log(LogLevel.WARN, msg, t);
	}
1329096
public void warning(String message, Map<String, Object> custom) {
    log(null, custom, message, Level.WARNING);
  }