| Trustin Lee (JIRA) 2005-10-19, 5:46 pm |
| [ http://issues.apache.org/jira/brows...INA-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/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
|