Use StandardError instead of Exception.
Merge pull request #149 from kaleworsley/standard_error

Use StandardError instead of Exception