refactoring
add exceptions
add exceptions
Merge pull request #1 from KotaroHibi/use_exception

Use exception