modules/andes-core/broker/src/main/java/org/wso2/andes/kernel/disruptor/delivery/DeliveryExceptionHandler.java
@Override
    public void handleEventException(final Throwable exception, final long sequence, final Object event) {

        // Mark event data for error
        DeliveryEventData eventData = (DeliveryEventData) event;
        eventData.reportExceptionOccurred();
        log.error("Exception processing: " + sequence + " " + event, exception);
    }
/**
     * This method is called if an uncaught exception occurred in a handler
     *
     * @param exception
     *         Exception
     * @param sequence
     *         Sequence Id of the event data
     * @param event
     *         Event data holder
     */
This method is called if an uncaught exception occurred in a handler
@param exception
Exception
@param sequence
Sequence Id of the event data
@param event
Event data holder
This method is called if an uncaught exception occurred in a handler @param exception Exception @param sequence Sequence Id of the event data @param event Event data holder
@Override
    public void handleEventException(final Throwable exception, final long sequence, final Object event) {
        DeliveryEventData eventData = (DeliveryEventData) event;
        eventData.reportExceptionOccurred();
        log.error("Exception processing: " + sequence + " " + event, exception);
    }
@ Override public void handleEventException ( final Throwable exception , final long sequence , final Object event ) { DeliveryEventData eventData = ( DeliveryEventData ) event ; eventData . reportExceptionOccurred ( ) ; log . error ( "Exception processing: " + sequence + " " + event , exception ) ; }
This method is called if an uncaught exception occurred in a handler
 @param exception
         Exception
 @param sequence
         Sequence Id of the event data
 @param event
         Event data holder
This method is called if an uncaught exception occurred in a handler @param exception Exception @param sequence Sequence Id of the event data @param event Event data holder
// Mark event data for error