public static void sendError(final int bytesToSend, final IOException ex, final InetSocketAddress destination)
    {
        throw new AeronException("failed to send packet of " + bytesToSend + " bytes to " + destination, ex);
    }
public static void sendError(final int bytesToSend, final IOException ex, final InetSocketAddress destination)
    {
        throw new AeronException("failed to send packet of " + bytesToSend + " bytes to " + destination, ex);
    }
public static void sendError ( final int bytesToSend , final IOException ex , final InetSocketAddress destination ) { throw new AeronException ( "failed to send packet of " + bytesToSend + " bytes to " + destination , ex ) ; }
Throw a {@link AeronException} with a message for a send error.

@param bytesToSend expected to be sent to the network.
@param ex          experienced.
@param destination to which the send was addressed.
Throw a { @link AeronException } with a message for a send error .