org.gcube.data.streams.handlers
Class StopUnrecoverableHandler
java.lang.Object
org.gcube.data.streams.handlers.StopUnrecoverableHandler
- All Implemented Interfaces:
- FaultHandler
public class StopUnrecoverableHandler
- extends Object
- implements FaultHandler
A FaultHandler that silently absorbs StreamContingencys
and stops iteration at the first unrecoverable failure.
- Author:
- Fabio Simeoni
|
Method Summary |
void |
handle(RuntimeException failure)
Indicates whether iteration should continue or stop the iteration on the occurrence of an iteration failure. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StopUnrecoverableHandler
public StopUnrecoverableHandler()
handle
public void handle(RuntimeException failure)
- Description copied from interface:
FaultHandler
- Indicates whether iteration should continue or stop the iteration on the occurrence of an iteration failure.
- Specified by:
handle in interface FaultHandler
- Parameters:
failure - the failure
Copyright © 2012. All Rights Reserved.