Added basic exception handling
Merge branch 'master' of https://github.com/rousseau-lium/XenC