Added exception handling and test plugin for it
added the plugin..
Merge pull request #29 from shughes-uk/master

Exception handling