Raising ICV exception when integrity constraint fails