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

Kevin Koltzau closed DIRMINA-304.
---------------------------------


> 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.0
>            Reporter: Kevin Koltzau
>            Assignee: Trustin Lee
>            Priority: Minor
>             Fix For: 2.0.0-M1
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.

Reply via email to