changed rethrowing code to avoid slicing exceptions #1010
Merge pull request #1017 from Tokutek/exception-slicing

changed rethrowing code to avoid slicing exceptions

fixes #1010
Merge branch 'bugfixes/tokumx-1.4' into releases/tokumx-1.4