directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trustin Lee (JIRA)" <j...@apache.org>
Subject [jira] Closed: (DIRMINA-36) ProtocolEncoder/Decoder throws clause issue
Date Mon, 17 Oct 2005 10:09:45 GMT
     [ http://issues.apache.org/jira/browse/DIRMINA-36?page=all ]
     
Trustin Lee closed DIRMINA-36:
------------------------------

    Resolution: Fixed

Resolved this issue while fixing DIRMINA-90:
* Removed ProtocolViolationException
* Added ProtocolEncoderException and ProtocolDecoderException
* All encoders and decoders can now throw any exceptions; ProtocolCodecFilter wraps thrown
exceptions with an appropriate ProtocolCodecException.

> ProtocolEncoder/Decoder throws clause issue
> -------------------------------------------
>
>          Key: DIRMINA-36
>          URL: http://issues.apache.org/jira/browse/DIRMINA-36
>      Project: Directory MINA
>         Type: Improvement
>     Versions: 0.7
>     Reporter: Trustin Lee
>     Assignee: Trustin Lee
>      Fix For: 0.9

>
> ProtocolEncoder.encode() and ProtocolDecoder.decode() throws ProtocolViolationException,
but it is inconvenient to type 'try and catch block' for other checked exceptions and prevents
from users to implement encoders and decoders fast.  We could change their signature to throw
all exceptions and then wrap those exceptions with ProtocolCodecException (renamed from ProtocolViolationException).

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


Mime
View raw message