changed constraint violation exception