private static <T> void notifyPostInvoke(EJBRequestCollaborator<T> collaborator, EJBRequestData request, Object preInvokeData) throws CSIException {
        try {
            @SuppressWarnings("unchecked")
            T uncheckedCookie = (T) preInvokeData;
            collaborator.postInvoke(request, uncheckedCookie);
        } catch (RuntimeException ex) {
            throw ex;
        } catch (CSIException ex) {
            throw ex;
        } catch (Exception ex) {
            throw new CSIException("", ex);
        }
    }
private static < T > void notifyPostInvoke ( EJBRequestCollaborator < T > collaborator , EJBRequestData request , Object preInvokeData ) throws CSIException { try { @ SuppressWarnings ( "unchecked" ) T uncheckedCookie = ( T ) preInvokeData ; collaborator . postInvoke ( request , uncheckedCookie ) ; } catch ( RuntimeException ex ) { throw ex ; } catch ( CSIException ex ) { throw ex ; } catch ( Exception ex ) { throw new CSIException ( "" , ex ) ; } }
Call {@link EJBRequestCollaborator#postInvoke}. Handles generics casting
and CSIException handling.