added throws phpdoc tag
Merge pull request #99 from irfanevrens/patch-1

added throws phpdoc tag