return an exception if no manager is defined