You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Kevin Koltzau (JIRA)" <ji...@apache.org> on 2006/11/03 21:08:16 UTC
[jira] Created: (DIRMINA-304) Add a getException() method to
ConnectFuture
Add a getException() method to ConnectFuture
--------------------------------------------
Key: DIRMINA-304
URL: http://issues.apache.org/jira/browse/DIRMINA-304
Project: Directory MINA
Issue Type: Improvement
Components: Core
Affects Versions: 1.0
Reporter: Kevin Koltzau
Priority: Minor
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: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Resolved: (DIRMINA-304) Add a getException() method to
ConnectFuture
Posted by "Trustin Lee (JIRA)" <ji...@apache.org>.
[ 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