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:
Method Summary |
void |
handleError(java.lang.Throwable throwable)
|
SILENT
static final ErrorStrategy SILENT
- Strategy that silently absorbs the error
RETHROW
static final ErrorStrategy RETHROW
- Strategy that rethrows the error
handleError
void handleError(java.lang.Throwable throwable)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
Copyright © 2003-2010. All Rights Reserved.