/** * Writes an exception to this writer. * The exception level is "warning". */ public void warning(Throwable ex) { this.warning(LocalizedStrings.EMPTY, ex); } /**
/** * Writes a message to this writer. * The message level is "warning". */ public void warning(String msg) { this.warning(msg, null); } /**
/** * Writes both a message and exception to this writer. * The message level is "warning". * @since 6.0 */ public void warning(StringId msgID, Object[] params) { warning(msgID, params, null); } /**
/** * Writes both a message and exception to this writer. * The message level is "warning". * @since 6.0 */ public void warning(StringId msgID, Throwable ex) { warning(msgID, null, ex); } /**
/** * Writes both a message and exception to this writer. * The message level is "warning". * @since 6.0 */ public void warning(StringId msgID, Object param) { warning(msgID, param, null); } /**
/** * Writes both a message and exception to this writer. * The message level is "warning". * @since 6.0 */ public void warning(StringId msgID) { warning(msgID, null, null); } /**
public Object call() throws Exception { final ExpectedException warnEx = addExpectedException("Warninglevel Alert Message"); ((LogWriterImpl)InternalDistributedSystem.getLoggerI18n()).warning( "Warninglevel Alert Message "); warnEx.remove(); return null; } });
logger.warning(firstMsg); } else { logger.info(firstMsg);