Package de.hybris.platform.impex.jalo
Interface ErrorHandler
-
- All Known Implementing Classes:
AlwaysFailErrorHandler,CronJobErrorHandler
public interface ErrorHandlerAnErrorHandleris used for evaluating an ImpEx error and finding an decision concerning the further processing. Currently it is used for processing an import using theImporterclass.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classErrorHandler.RESULTEnumeration of possible results when processing ImpEx errors.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ErrorHandler.RESULThandleError(ImpExException exception, ImpExReader reader)Evaluated the given error and finds a decision concerning the further ImpEx processing.
-
-
-
Method Detail
-
handleError
ErrorHandler.RESULT handleError(ImpExException exception, ImpExReader reader)
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
-
-