added exception logic propagated to REEF
fixed bug
Merge pull request #4 from cmssnu/reef-0.1

Update error handling