result = throwable;
result_was_thrown = true;
}
try {
spi.sendMessage( source, new InvokeReturnIMessage( message.getCallID(),
result, result_was_thrown, new_object_id, perf_stats ?
Long.valueOf( System.nanoTime() - start ) : null ), null );
}
catch ( Throwable throwable ) {
if ( LOG.isDebugEnabled() ) {
LOG.debug(
"Unable to send return message for call {} to {} (will retry)",
Integer.valueOf( message.getCallID() ), source,
throwable );
}
if ( throwable instanceof IOException ) {
result = throwable;
result_was_thrown = true;
}
try {
spi.sendMessage( source, new InvokeReturnIMessage( message.getCallID(),
throwable, result_was_thrown, new_object_id, perf_stats ?
Long.valueOf( System.nanoTime() - start ) : null ), null );
}
catch ( Exception e ) {
if ( LOG.isInfoEnabled() ) {