protected synchronized void invoke ( ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( this , tc , "invoke" ) ; try { listener . errorOccurred ( exception , segmentType , requestNumber , priority , conversation ) ; } catch ( Throwable t ) { FFDCFilter . processException ( t , "com.ibm.ws.sib.jfapchannel.impl.rldispatcher.ConversationReceiveListenerErrorOccurredInvocation" , JFapChannelConstants . CRLERROROCCURREDINVOKE_INVOKE_01 ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) SibTr . debug ( this , tc , "exception thrown by conversation receive listener" ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEventEnabled ( ) ) SibTr . exception ( this , tc , t ) ; connection . invalidate ( true , t , "exception thrown in errorOccurred method - " + t . getMessage ( ) ) ; // D224570 } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( this , tc , "invoke" ) ; }
Invokes the error occurred callback of a receive listener . The information required for this invocation is encapsulated in this class . If code in the callback throws an exception then the connection is invalidated .