public class DefaultExceptionHandler extends Object implements ExceptionHandler
ExceptionHandler - just re-throws the exception it encounters.| Constructor and Description |
|---|
DefaultExceptionHandler() |
public void handleException(RepeatContext context, Throwable throwable) throws Throwable
handleException in interface ExceptionHandlercontext - the current RepeatContext. Can be used to store
state (via attributes), for example to count the number of occurrences of
a particular exception type and implement a threshold policy.throwable - an exception.Throwable - implementations are free to re-throw the exceptionExceptionHandler.handleException(RepeatContext,
Throwable)Copyright © 2014 Pivotal. All rights reserved.