Create settings before throwing exceptions.