commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julien Aymé (JIRA) <j...@apache.org>
Subject [jira] Updated: (NET-153) Add getCause method to CopyStreamException
Date Fri, 01 Jun 2007 11:56:15 GMT

     [ https://issues.apache.org/jira/browse/NET-153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Julien Aymé updated NET-153:
----------------------------

    Attachment: CopyStreamException.patch

Patch to CopyStreamException:

Added this method to CopyStreamException:
public Throwable getCause() {
    return ioException;
}

> 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
>         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.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message