protected void sendErrorToClient ( Throwable e , String probeId ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( this , tc , "sendErrorToClient" , new Object [ ] { e , probeId } ) ; setComplete ( true ) ; setCurrentlyDoingReceiveWithWait ( false ) ; StaticCATHelper . sendExceptionToClient ( e , probeId , conversation , requestNumber ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( this , tc , "sendErrorToClient" ) ; }
This method sends an exception to the client and marks the reader that a response has been sent to the client .