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