You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Tyler Palsulich (JIRA)" <ji...@apache.org> on 2015/03/20 23:08:38 UTC

[jira] [Resolved] (TIKA-1416) Refactor Translator Exception Handling

     [ https://issues.apache.org/jira/browse/TIKA-1416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tyler Palsulich resolved TIKA-1416.
-----------------------------------
    Resolution: Fixed

Fixed in r1668166. {{Translator.translate()}} can now throw a TikaException or an IOException.

> Refactor Translator Exception Handling
> --------------------------------------
>
>                 Key: TIKA-1416
>                 URL: https://issues.apache.org/jira/browse/TIKA-1416
>             Project: Tika
>          Issue Type: Bug
>          Components: translation
>            Reporter: Tyler Palsulich
>             Fix For: 1.8
>
>
> `Translator.translate()` currently throws `Exception`. We should make it more specific. The only real limitation comes from MicrosoftTranslator -- the library used throws `Exception`, but that shouldn't mean Tika does too.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)