255256257258259260261262263264265
{ if (shutdown) return true; if (errorStringBuilder == null) errorStringBuilder = new ErrorStringBuilder(errorStream.getHeader()); ThreadDeath seenThreadDeath = null; if (error instanceof ThreadDeath) seenThreadDeath = (ThreadDeath) error;
45484549455045514552455345544555455645574558
* its nested exceptions * @param t trace starts from this error */ private void printErrorStack(Throwable t) { ErrorStringBuilder esb = new ErrorStringBuilder(Monitor.getStream().getHeader()); esb.stackTrace(t); Monitor.logMessage(esb.get().toString()); esb.reset(); }
921922923924925926927928929930931932
PrintWriterGetHeader pwgh = null; if (systemStreams != null) pwgh = systemStreams.stream().getHeader(); ErrorStringBuilder esb = new ErrorStringBuilder(pwgh); esb.appendln(t.getMessage()); esb.stackTrace(t); report(esb.get().toString()); }
243244245246247248249250251252253
46244625462646274628462946304631463246334634
6566676869707172737475767778
if (msgId != null) { Monitor.logTextMessage(msgId, dbname); } if (t != null) { ErrorStringBuilder esb = new ErrorStringBuilder(Monitor.getStream().getHeader()); esb.stackTrace(t); Monitor.logMessage(esb.get().toString()); esb.reset(); } Monitor.logTextMessage(MessageId.REPLICATION_ERROR_END); } }
910911912913914915916917918919920921