Fix inappropriate messages.
Merge pull request #398 from ChenHuajun/ArgumentNullException

Fix inappropriate messages.