Class ErrorHandler
- java.lang.Object
-
- de.hybris.platform.acceleratorservices.dataimport.batch.task.ErrorHandler
-
public class ErrorHandler extends java.lang.ObjectError Handler to trigger a cleanup.
-
-
Constructor Summary
Constructors Constructor Description ErrorHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CleanupHelpergetCleanupHelper()voidonError(java.lang.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)
-
-
-
Method Detail
-
onError
public void onError(org.springframework.messaging.MessagingException exception)
Point of entry for errors during processing routed to the error channel.- Parameters:
exception-
-
onError
public void onError(java.lang.IllegalStateException exception)
Point of entry for errors during processing routed to the error channel.- Parameters:
exception-
-
setCleanupHelper
public void setCleanupHelper(CleanupHelper cleanupHelper)
- Parameters:
cleanupHelper- the cleanupHelper to set
-
getCleanupHelper
protected CleanupHelper getCleanupHelper()
- Returns:
CleanupHelperinstance.
-
-