public class CronJobErrorHandler extends java.lang.Object implements ErrorHandler
ErrorHandler designed for CronJobs. An CronJob already has an enumaration
value for defining the error mode. Possible values are fail, pause and ignore. This ErrorHandler uses
this value for finding an decision concerning the error processing. The following mapping will be used:
ErrorHandler.RESULT| Constructor and Description |
|---|
CronJobErrorHandler(CronJob cronjob)
Creates a new instance with given
CronJob used for error evaluation. |
| Modifier and Type | Method and Description |
|---|---|
ErrorHandler.RESULT |
handleError(ImpExException impexException,
ImpExReader reader)
Evaluated the given error and finds a decision concerning the further ImpEx processing.
|
public CronJobErrorHandler(CronJob cronjob)
CronJob used for error evaluation.cronjob - instance used for evaluating the error decisionpublic ErrorHandler.RESULT handleError(ImpExException impexException, ImpExReader reader)
ErrorHandlerhandleError in interface ErrorHandlerimpexException - the ImpEx error occurred while ImpEx processreader - the input reader instance for getting further informations of the current processCopyright © 2018 SAP SE. All Rights Reserved.