Added missing @throws
Merge pull request #639 from JeroenDeDauw/th

Added missing @throws