Package de.hybris.platform.impex.jalo
Class AlwaysFailErrorHandler
java.lang.Object
de.hybris.platform.impex.jalo.AlwaysFailErrorHandler
- All Implemented Interfaces:
ErrorHandler
This handler will always evaluate an negative decision concerning an error, means it will always return with
ErrorHandler.RESULT.FAIL.-
Nested Class Summary
Nested classes/interfaces inherited from interface de.hybris.platform.impex.jalo.ErrorHandler
ErrorHandler.RESULT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionhandleError(ImpExException exception, ImpExReader reader) Evaluated the given error and finds a decision concerning the further ImpEx processing.
-
Constructor Details
-
AlwaysFailErrorHandler
public AlwaysFailErrorHandler()
-
-
Method Details
-
handleError
Description copied from interface:ErrorHandlerEvaluated 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.- Specified by:
handleErrorin interfaceErrorHandler- 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
-