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