aeron-driver/src/main/java/io/aeron/driver/Configuration.java
public static void validateSessionIdRange(final int low, final int high)
    {
        if (low > high)
        {
            throw new ConfigurationException("low session id value " + low + " must be <= high value " + high);
        }

        if (Math.abs((long)high - low) > Integer.MAX_VALUE)
        {
            throw new ConfigurationException("reserved range to too large");
        }
    }
public static void validateSessionIdRange(final int low, final int high)
    {
        if (low > high)
        {
            throw new ConfigurationException("low session id value " + low + " must be <= high value " + high);
        }

        if (Math.abs((long)high - low) > Integer.MAX_VALUE)
        {
            throw new ConfigurationException("reserved range to too large");
        }
    }
public static void validateSessionIdRange ( final int low , final int high ) { if ( low > high ) { throw new ConfigurationException ( "low session id value " + low + " must be <= high value " + high ) ; } if ( Math . abs ( ( long ) high - low ) > Integer . MAX_VALUE ) { throw new ConfigurationException ( "reserved range to too large" ) ; } }
Validate the range of session ids based on a high and low value provided which accounts for the values wrapping.

@param low  value in the range.
@param high value in the range.
@throws ConfigurationException if the values are not valid.
Validate the range of session ids based on a high and low value provided which accounts for the values wrapping .