org.jconfig.error
Class NullDeviceErrorHandler

java.lang.Object
  extended byorg.jconfig.error.NullDeviceErrorHandler
All Implemented Interfaces:
ErrorHandler

public class NullDeviceErrorHandler
extends java.lang.Object
implements ErrorHandler

This class implements the so called NullDevice ErrorHandler. It just swallows the error messages. This ErrorHandler is used as default to be backward compatible since jConfig has never reported any errors before.

Author:
Andreas Mecky andreasmecky@yahoo.de, Terry Dye terrydye@yahoo.com

Constructor Summary
NullDeviceErrorHandler()
           
 
Method Summary
 void reportError(java.lang.String message)
           
 void reportError(java.lang.String message, java.lang.Throwable thrown)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullDeviceErrorHandler

public NullDeviceErrorHandler()
Method Detail

reportError

public void reportError(java.lang.String message)
Specified by:
reportError in interface ErrorHandler

reportError

public void reportError(java.lang.String message,
                        java.lang.Throwable thrown)
Specified by:
reportError in interface ErrorHandler


Copyright © 2001-2005 Andreas Mecky, Terry Dye. All Rights Reserved.