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 2007/10/14 22:10:50 UTC

[jira] Commented: (TIKA-64) Would like a TikaException(Throwable cause) constructor.

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

Jukka Zitting commented on TIKA-64:
-----------------------------------

We already have TikaException(String message, Throwable cause).

IMHO an exception should always be accompanied with a message (not just a copy of the underlying exception message), so I'd rather not add the proposed constructor.

> Would like a TikaException(Throwable cause) constructor.
> --------------------------------------------------------
>
>                 Key: TIKA-64
>                 URL: https://issues.apache.org/jira/browse/TIKA-64
>             Project: Tika
>          Issue Type: Improvement
>          Components: general
>    Affects Versions: 0.1-incubator
>            Reporter: Keith R. Bennett
>            Priority: Trivial
>             Fix For: 0.1-incubator
>
>
> To complete the set of Exception constructors overridden by TikaException, and to simplify the creation of TIkaException in some cases, I suggest adding the following to TikaException.java:
>     public TikaException(Throwable cause) {
>         super(cause);
>     }
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.