Class ExceptionHandlerAspect

java.lang.Object
de.hybris.platform.acceleratorservices.dataimport.batch.aop.ExceptionHandlerAspect

public class ExceptionHandlerAspect extends Object
Aspect to wrap all exceptions in a BatchException to preserve the header.
  • Constructor Details

    • ExceptionHandlerAspect

      public ExceptionHandlerAspect()
  • Method Details

    • execute

      public Object execute(org.aspectj.lang.ProceedingJoinPoint pjp) throws Throwable
      Invokes a method and wraps all Exceptions in a BatchException.
      Parameters:
      pjp -
      Returns:
      result of the invocation
      Throws:
      Throwable