|
|||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| NullDeviceErrorHandler.java | - | - | 100% | 100% |
|
||||||||||||||
| 1 | package org.jconfig.error; | |
| 2 | ||
| 3 | /** | |
| 4 | * This class implements the so called NullDevice ErrorHandler. It just | |
| 5 | * swallows the error messages. This ErrorHandler is used as default to | |
| 6 | * be backward compatible since jConfig has never reported any errors before. | |
| 7 | * | |
| 8 | * @author Andreas Mecky andreasmecky@yahoo.de | |
| 9 | * @author Terry Dye terrydye@yahoo.com | |
| 10 | */ | |
| 11 | public class NullDeviceErrorHandler implements ErrorHandler { | |
| 12 | ||
| 13 | 4 | public void reportError(String message) { |
| 14 | } | |
| 15 | ||
| 16 | 10 | public void reportError(String message, Throwable thrown) { |
| 17 | } | |
| 18 | ||
| 19 | } |
|
||||||||||