check violation message