KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jzonic > jlo > error > ErrorReporter


1 /*
2  * Created on 05.07.2004
3  * Created by crappy eclipse.
4  */

5 package org.jzonic.jlo.error;
6
7 /**
8  * @author Mecky
9  */

10 public interface ErrorReporter {
11
12     public void reportError(String JavaDoc message);
13     /**
14      * This method writes a message together with the StackTrace from the
15      * exception
16      *
17      *@param message the message that will be written
18      *@param thrown the excption
19      */

20     public void reportError(String JavaDoc message, Throwable JavaDoc thrown);
21     
22     /**
23      * This method writes the StackTrace from the exception
24      *
25      *@param thrown the excption
26      */

27     public void reportError(Throwable JavaDoc thrown);
28 }
29
Popular Tags