org.jconfig.error
Class ErrorReporter

java.lang.Object
  extended byorg.jconfig.error.ErrorReporter

public class ErrorReporter
extends java.lang.Object

This class will return the specified ErrorHandler. You can define the ErrorHandler by setting the property
jconfig.errorhandler=org.jconfig.DefaultErrorHandler
You can also define your own ErrorHandler here.
If no ErrorHandler is defined then jConfig will use the so called SimpleErrorHandler which will simply report any error to the console.

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

Constructor Summary
ErrorReporter()
           
 
Method Summary
static ErrorHandler getErrorHandler()
          This method will return the defined ErrorHandler.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorReporter

public ErrorReporter()
Method Detail

getErrorHandler

public static ErrorHandler getErrorHandler()
This method will return the defined ErrorHandler. If no ErrorHandler is defined it will return the SimpleErrorHandler.

Returns:
the ErrorHandler


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