directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trustin Lee (JIRA)" <>
Subject [jira] Closed: (DIRMINA-36) ProtocolEncoder/Decoder throws clause issue
Date Mon, 17 Oct 2005 10:09:45 GMT
     [ ]
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:
>      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:
For more information on JIRA, see:

View raw message