added the error handling.
Merge branch 'master' of https://github.com/katonori/utils