return an exception to the callee, if the UID can't be generated.