new supervisor config and raise an exception