} catch ( TException e ) {
throw new RpcException( RpcException.SERIALIZATION_EXCEPTION, e.getMessage(), e );
}
output.write( bytes );
bos.writeTo( output );
output.flush();
}
private void encodeResponse( Channel channel, OutputStream output, Response response )