Update exception factory.