Missing sprintf() and OrderNumber in exception