The LoaderManager
uses a configurable error handling policy, defined by the Repository Loader’s ErrorPolicy
component. Each job processed by the LoaderManager
might contain files that cause exceptions to be thrown. The LoaderManager
consults the ErrorPolicy
component to determine how to handle exceptions. All exceptions are logged. The Repository Loader sets a success state for each job and each batch. In addition, the following ErrorPolicy
methods are used to determine how to proceed after encountering a problem while processing a job:
checkIsExceptionFatal | Returns |
checkRequiresNewTransaction | Returns |
checkEndTransactionWithBatchState | Returns |