You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2011/03/09 16:59:59 UTC

[jira] Commented: (TIKA-610) Invent TikaRuntimeException

    [ https://issues.apache.org/jira/browse/TIKA-610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13004624#comment-13004624 ] 

Jukka Zitting commented on TIKA-610:
------------------------------------

IMHO we should try to avoid throwing RuntimeExceptions as much as possible. See my comment on TIKA-597 for an alternative solution to this issue.

> Invent TikaRuntimeException
> ---------------------------
>
>                 Key: TIKA-610
>                 URL: https://issues.apache.org/jira/browse/TIKA-610
>             Project: Tika
>          Issue Type: Bug
>            Reporter: Benson Margulies
>
> As per TIKA-597, there are cases where Tika calls X which calls Tika back through some interface with little or no 'throws' clause. Currently, any such situation ends up having to throw a naked RuntimeException. I submit that it would be more better if Tika defined its own unchecked TikaRuntimeException for these situations, which could call it or subclasses of it.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira