org.jbehave.core.errors
Interface ErrorStrategy
- All Known Subinterfaces:
- PendingErrorStrategy
- All Known Implementing Classes:
- ErrorStrategyInWhichWeTrustTheReporter
public interface ErrorStrategy
ErrorStrategy allows to define error handling strategies. Two standard
strategies are provided:
SILENT
static final ErrorStrategy SILENT
- Strategy that silently absorbs the error
RETHROW
static final ErrorStrategy RETHROW
- Strategy that rethrows the error
handleError
void handleError(Throwable throwable)
throws Throwable
- Throws:
Throwable
Copyright © 2003-2010. All Rights Reserved.