Add throw StringCastException
[Modify]StringCastExceptin to RuntimeException and add the exception instance
Merge pull request #1877 from lvarayut/master

Specify an error massage by adding throw StringCastException