Use custom exception
Merge pull request #17 from dtaniwaki/use-custom-exception

Use custom exception