1 package net.sourceforge.argval.message;
2
3
4
5
6
7
8
9
10 public interface MessageStore {
11
12 void addFatal(String message);
13 void addFatal(String message, Throwable cause);
14
15 void addError(String message);
16 void addError(String message, Throwable cause);
17
18 void addWarn(String message);
19 void addWarn(String message, Throwable cause);
20
21 void addInfo(String message);
22 void addInfo(String message, Throwable cause);
23
24 void addDebug(String message);
25 void addDebug(String message, Throwable cause);
26
27 boolean isFatalAdded();
28 boolean isErrorAdded();
29 boolean isWarnAdded();
30 boolean isInfoAdded();
31 boolean isDebugAdded();
32
33 boolean isEmpty();
34
35 }