Refactoring of configurations and exception management