NXP-10905 fix bad Exception management