add violatedMessage and replaceViolatedMessage.

see #43