
|
If you were logged in you would be able to see more operations.
|
|
|
| Resolution Date: |
17/Oct/05 07:08 PM
|
|
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).
|
|
Description
|
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).
|
Show » |
made changes - 17/Oct/05 07:08 PM
| Field |
Original Value |
New Value |
|
Status
|
Open
[ 1
]
|
Closed
[ 6
]
|
|
Resolution
|
|
Fixed
[ 1
]
|
|
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.