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