r2994: More cleanups. Move the generation of NTSTATUS and WERROR exceptions