You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Trustin Lee (JIRA)" <ji...@apache.org> on 2006/03/12 07:16:52 UTC

[jira] Created: (DIRMINA-189) Make encoder/decoder factory methods more user-friendly

Make encoder/decoder factory methods more user-friendly
-------------------------------------------------------

         Key: DIRMINA-189
         URL: http://issues.apache.org/jira/browse/DIRMINA-189
     Project: Directory MINA
        Type: Improvement
    Reporter: Trustin Lee
 Assigned to: Trustin Lee 
    Priority: Trivial
     Fix For: 0.9.3


Currently, all factory methods are supposed not to throw any exceptions.  This makes the factory implementors waste their time rethrowing them after wrapping the exceptions with RuntimeException.  We could simply add a 'throws Exception' clause to help users not care about exceptions and get notified in an exceptionCaught handler method.

-- 
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] Closed: (DIRMINA-189) Make encoder/decoder factory methods more user-friendly

Posted by "Trustin Lee (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/DIRMINA-189?page=all ]
     
Trustin Lee closed DIRMINA-189:
-------------------------------

    Resolution: Fixed

> Make encoder/decoder factory methods more user-friendly
> -------------------------------------------------------
>
>          Key: DIRMINA-189
>          URL: http://issues.apache.org/jira/browse/DIRMINA-189
>      Project: Directory MINA
>         Type: Improvement
>     Reporter: Trustin Lee
>     Assignee: Trustin Lee
>     Priority: Trivial
>      Fix For: 0.9.3

>
> Currently, all factory methods are supposed not to throw any exceptions.  This makes the factory implementors waste their time rethrowing them after wrapping the exceptions with RuntimeException.  We could simply add a 'throws Exception' clause to help users not care about exceptions and get notified in an exceptionCaught handler method.

-- 
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