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.
 

Method Detail

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 null
fileName - 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.