[doc] Add missing `@throws` to docblock