mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trustin Lee (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (DIRMINA-304) Add a getException() method to ConnectFuture
Date Fri, 12 Jan 2007 02:24:27 GMT

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

Trustin Lee resolved DIRMINA-304.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0
         Assignee: Trustin Lee

It's added in trunk (v2.0-M1)

> Add a getException() method to ConnectFuture
> --------------------------------------------
>
>                 Key: DIRMINA-304
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-304
>             Project: MINA
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.0
>            Reporter: Kevin Koltzau
>         Assigned To: Trustin Lee
>            Priority: Minor
>             Fix For: 2.0
>
>
> Currently the only way to retrieve the exception notifying that a connection failed is
> ConnectFuture future;
> try {
>   future.getSession();
> }
> catch(RuntimeIOException e) {
>   e.getCause();
> }
> which is both not obvious based on the documentation, and not pretty

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message