[jira] [Commented] (NET-153) Add getCause method to CopyStreamException

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (NET-153) Add getCause method to CopyStreamException

ASF GitHub Bot (Jira)

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

Clemens Robbenhaar commented on NET-153:
----------------------------------------

I seems to me that this patch got lost. At least I cannot find it anymore in 3.0.1 and in the current version of the svn trunk.

> Add getCause method to CopyStreamException
> ------------------------------------------
>
>                 Key: NET-153
>                 URL: https://issues.apache.org/jira/browse/NET-153
>             Project: Commons Net
>          Issue Type: Improvement
>    Affects Versions: 1.4
>            Reporter: Dan Godfrey
>            Priority: Trivial
>             Fix For: 2.0
>
>         Attachments: CopyStreamException.patch
>
>
> 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.

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