Package de.hybris.platform.impex.jalo
Interface ErrorHandler
- All Known Implementing Classes:
AlwaysFailErrorHandler,CronJobErrorHandler
public interface ErrorHandler
An
ErrorHandler is used for evaluating an ImpEx error and finding an decision concerning the further
processing. Currently it is used for processing an import using the Importer class.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumEnumeration of possible results when processing ImpEx errors. -
Method Summary
Modifier and TypeMethodDescriptionhandleError(ImpExException exception, ImpExReader reader) Evaluated the given error and finds a decision concerning the further ImpEx processing.
-
Method Details
-
handleError
Evaluated the given error and finds a decision concerning the further ImpEx processing. Possible results are continuing of processing or stopping and throwing the error. For evaluation of the given error, the input reader instance is given.- Parameters:
exception- the ImpEx error occurred while ImpEx processreader- the input reader instance for getting further informations of the current process- Returns:
- the decision concerning further processing
-