Added @throws in doc comments.