Ensuring we are throwing a ConfigException not a Exception.