|
|||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| SimpleErrorHandler.java | - | 0% | 0% | 0% |
|
||||||||||||||
| 1 | /* | |
| 2 | * Created on 28.06.2004 | |
| 3 | * Created by crappy eclipse. | |
| 4 | */ | |
| 5 | package org.jconfig.error; | |
| 6 | ||
| 7 | /** | |
| 8 | * @author Mecky | |
| 9 | * shoot me because I am using eclipse | |
| 10 | */ | |
| 11 | public class SimpleErrorHandler implements ErrorHandler { | |
| 12 | ||
| 13 | 0 | public SimpleErrorHandler() { |
| 14 | } | |
| 15 | ||
| 16 | 0 | public void reportError(String message) { |
| 17 | 0 | System.out.println(message); |
| 18 | } | |
| 19 | ||
| 20 | ||
| 21 | 0 | public void reportError(String message, Throwable thrown) { |
| 22 | 0 | System.out.println(message); |
| 23 | 0 | thrown.printStackTrace(); |
| 24 | } | |
| 25 | ||
| 26 | ||
| 27 | } |
|
||||||||||