Changed deprecated FormException in favor of InvalidConfigurationException