Exception message sprintf params order fix

The sprintf parameters where not correctly ordered