public class DefaultExceptionHandler extends Object implements ExceptionHandler
Default implementation of the ExceptionHandler
interface.
Constructor and Description |
---|
DefaultExceptionHandler() |
Modifier and Type | Method and Description |
---|---|
void |
handleException(Exception exception)
Log the specified exception, and record it in a request scoped
List that can be used to report them all at a future
point in time to report all of the accumulated exceptions. |
public void handleException(Exception exception)
Log the specified exception, and record it in a request scoped
List
that can be used to report them all at a future
point in time to report all of the accumulated exceptions.
handleException
in interface ExceptionHandler
exception
- Exception to be handledCopyright © 2004-2013 Apache Software Foundation. All Rights Reserved.