Class ErrorHandler
java.lang.Object
de.hybris.platform.acceleratorservices.dataimport.batch.task.ErrorHandler
Error Handler to trigger a cleanup.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CleanupHelpervoidonError(IllegalStateException exception) Point of entry for errors during processing routed to the error channel.voidonError(org.springframework.messaging.MessagingException exception) Point of entry for errors during processing routed to the error channel.voidsetCleanupHelper(CleanupHelper cleanupHelper)
-
Constructor Details
-
ErrorHandler
public ErrorHandler()
-
-
Method Details
-
onError
public void onError(org.springframework.messaging.MessagingException exception) Point of entry for errors during processing routed to the error channel.- Parameters:
exception-
-
onError
Point of entry for errors during processing routed to the error channel.- Parameters:
exception-
-
setCleanupHelper
- Parameters:
cleanupHelper- the cleanupHelper to set
-
getCleanupHelper
- Returns:
CleanupHelperinstance.
-