[ENH] add exception hierarchy
Merge pull request #36 from htkm/enh/common-exc-tree-for-spec

[ENH] add exception hierarchy