NXP-12743: wrap exception in a more explicit one