No, there is not an exception to the early distribution penalty when the 401k is distributed due to changing companies.
Take a look at the following document from the IRS to see a list of possible exceptions:
Retirement topics - Exceptions to tax on early distributions