KickJava   Java API By Example, From Geeks To Geeks.

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


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

5 package org.jzonic.jlo.error;
6
7 /**
8  * This error reporter will not write out any error message.
9  *
10  * @author Mecky
11  */

12 public class NullDeviceErrorReporter implements ErrorReporter {
13
14     /* (non-Javadoc)
15      * @see org.jzonic.jlo.error.ErrorReporter#reportError(java.lang.String)
16      */

17     public void reportError(String JavaDoc message) {
18     }
19
20     /* (non-Javadoc)
21      * @see org.jzonic.jlo.error.ErrorReporter#reportError(java.lang.String, java.lang.Throwable)
22      */

23     public void reportError(String JavaDoc message, Throwable JavaDoc thrown) {
24     }
25
26     /* (non-Javadoc)
27      * @see org.jzonic.jlo.error.ErrorReporter#reportError(java.lang.Throwable)
28      */

29     public void reportError(Throwable JavaDoc thrown) {
30     }
31
32 }
33
Popular Tags