org.openbp.common.io
Interface RetryNotifier
public interface RetryNotifier
Interface to be used by methods that want to query for a retry.
- Author:
- Heiko Erhardt
|
Method Summary |
boolean |
shallRetry(java.lang.Exception e,
java.lang.String fileName)
This method is called when an error appears and there is the chance of a retry. |
shallRetry
boolean shallRetry(java.lang.Exception e,
java.lang.String fileName)
- This method is called when an error appears and there is the chance of a retry.
- Parameters:
e - Exception that causes the retry or nullfileName - Specifiction of the file name the exception refers to or null
- Returns:
- true Yes, the calling method should retry the procedure.
false No retry is desired.
Copyright © 2011. All Rights Reserved.