Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-104

Add utility methods to throw IOException with the caused intialized

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.1-incubating
    • general
    • None

    Description

      The constructors with a Throwable cause were not added until JDK 1.6 - I suggest adding a utility method to intialize the cause in the IOException.

      This can be used to revert r596143[1] (and similar situation in AppendableApdaptor) so that the cause is not swallowed.

      [1] http://svn.apache.org/viewvc?view=rev&revision=596143

      Attachments

        1. TIKA-104-throwIOException-v1.patch
          9 kB
          Niall Pemberton

        Issue Links

          Activity

            People

              jukkaz Jukka Zitting
              niallp Niall Pemberton
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: