Skip to content

Commit 7817bcd

Browse files
committed
Fix javadocs
1 parent e64069a commit 7817bcd

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/main/java/com/translated/lara/translator/Documents.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public InputStream download(String id) throws S3Exception, LaraException {
7676
* Downloads the translated document.
7777
* @param id the document ID
7878
* @return an InputStream to read the downloaded document
79-
* @throws IOException
79+
* @throws S3Exception
8080
* @throws LaraException
8181
*/
8282
public InputStream download(String id, DocumentDownloadOptions options) throws S3Exception, LaraException {
@@ -105,8 +105,9 @@ public InputStream translate(File input, String source, String target) throws S3
105105
* @param target the target language
106106
* @param options the translation options (optional)
107107
* @return an InputStream to read the translated document
108-
* @throws IOException
108+
* @throws S3Exception
109109
* @throws LaraException
110+
* @throws InterruptedException
110111
*/
111112
public InputStream translate(File input, String source, String target, DocumentTranslateOptions options) throws S3Exception, LaraException, InterruptedException {
112113
DocumentUploadOptions uploadOptions = options != null ? new DocumentUploadOptions() : null;

0 commit comments

Comments
 (0)