net.sf.ooweb.objectmapping
Interface ErrorHandler
public interface ErrorHandler
ErrorHandler is implemented by a class that wishes to act as the
error handler for the application. Only one such class will be
used by OOWeb, so if your registry of server objects contains more
than one implementation, you have no control over which will be
used.
- Since:
- 0.7
- Author:
- Darren Davison
Method Summary |
java.lang.String |
onError(java.lang.Throwable ex)
|
onError
java.lang.String onError(java.lang.Throwable ex)
- Parameters:
ex
- the wrapped exception thrown during request processing
- Returns:
- a String representing the output to show the user on
the occasion of an error occurring
Copyright (C) 2005-2007 OOWeb Authors.