1 package de.lathanda.eos.base.util;
3 import java.util.LinkedList;
16 logListener.forEach(log -> log.clearMessages());
42 public <T extends Exception>
void handleOrThrowException(T e)
throws T {
48 }
catch (InterruptedException e1) {
59 }
catch (InterruptedException e1) {
83 }
catch (InterruptedException e1) {
92 private LinkedList<LogListener> logListener =
new LinkedList<>();
99 logListener.remove(log);
103 logListener.forEach(log -> log.message(msg, level));
void handleError(Exception e)
void setErrorBehavior(ErrorBehavior eb)
void sendError(String error)
void sendStatus(String id)
synchronized void removeConfigurationListener(LogListener log)
synchronized void fireMessage(String msg, ErrorLevel level)
void sendFatal(String fatal)
void sendInformation(String information)
void sendWarning(String warning)
synchronized void addLogListener(LogListener log)
void message(String msg, ErrorLevel level)