Uploaded image for project: 'Commons Net'
  1. Commons Net
  2. NET-153

Add getCause method to CopyStreamException

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.4
    • 2.0
    • None
    • None

    Description

      Add a getCause method to CopyStreamException that has the same signature as Throwable#getCause from JDK 1.4 and returns the wrapped IOException.

      This will override the existing getCause method in version of Java > 1.4 and hence include the IOExceptions stack trace in the CopyStreamExceptions stack trace or just be ignored in Java 1.3.

      Attachments

        1. CopyStreamException.patch
          0.5 kB
          Julien Aymé

        Activity

          People

            Unassigned Unassigned
            dgodfrey99 Dan Godfrey
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: