throw a exception if module has not been registered