Remove MWException use from UIDGenerator