change the exceptions thrown in getStockHistory
Merge pull request #117 from mikeyman77/logic/fixexceptions

change the exceptions thrown in getStockHistory