Inline a few trivial exception helpers
Merge pull request #29 from justinsb/inline_exception_functions

Inline a few trivial exception helpers