[bug fix] TDIS-5390, throw exception 'TYPE_MISMATCH_ERR' when setting type invalid.
Merge pull request #265 from jacobchen/next

[bug fix] TDIS-5390, throw exception 'TYPE_MISMATCH_ERR' when setting ty...