use exception
Merge pull request #1 from ha1t/use_exception

use exception