org.mondemand
Class DefaultErrorHandler
java.lang.Objectorg.mondemand.DefaultErrorHandler
- ErrorHandler
public class DefaultErrorHandler
extends java.lang.Object
This implements the ErrorHandler interface and provides the default
handler for MonDemand errors, which writes errors to standard error.
The user can override this using the MonDemand API, if they wanted to
log errors another way.
void | handleError(String error)- Writes MonDemand errors to standard error.
|
void | handleError(String error, Exception e)- Writes MonDemand errors that have an associated exception to standard error.
|
handleError
public void handleError(String error)
Writes MonDemand errors to standard error.
- handleError in interface ErrorHandler
handleError
public void handleError(String error,
Exception e) Writes MonDemand errors that have an associated exception to standard error.
- handleError in interface ErrorHandler