updated excpetion and errors block
Merge pull request #8 from russel1237/master

updated excpetion and errors block