01: /*
02: * Created on 05.07.2004
03: * Created by crappy eclipse.
04: */
05: package org.jzonic.jlo.error;
06:
07: /**
08: * @author Mecky
09: */
10: public interface ErrorReporter {
11:
12: public void reportError(String message);
13:
14: /**
15: * This method writes a message together with the StackTrace from the
16: * exception
17: *
18: *@param message the message that will be written
19: *@param thrown the excption
20: */
21: public void reportError(String message, Throwable thrown);
22:
23: /**
24: * This method writes the StackTrace from the exception
25: *
26: *@param thrown the excption
27: */
28: public void reportError(Throwable thrown);
29: }
|