Fixed static exception message in model.