Better would probably be to delete this line (and the definition of addWorkunitExceptionId) because it isn't actually called from generated code.  If it was this change would be created a backward incompatibility.

(I can do that sepaarately if you don't.)