added missing exception throw to docblock