Revert "Fixed exception type."
Revert "Fixed exception type."

This reverts commit db7cc4b49a8727478059b560ec19b84cd5003540.

localheinz/Stash,bankiru/Stash,theUniC/Stash,bankiru/Stash,AndrewCarterUK/Stash,csburton/Stash,csburton/Stash,andrerom/Stash,alawnchen/Stash,jaredtking/Stash,graphis/Stash,theUniC/Stash,jaredtking/Stash,tedious/Stash,localheinz/Stash,AndrewCarterUK/Stash,graphis/Stash,andrerom/Stash,alawnchen/Stash,tedious/Stash