Hi,
>
> Say the business level has some rules to apply when particular
> exceptions occur. What api/component in grizzly should I hook into
> to obtain and handle the exception?
>
>
> In receive case, the exception is detected by ReadFilter. Should I
> handle it in ConnectorHandler.onRead()? or should I have a filter in
> front of ReadFilter that handles the exception?
Usually we don't propagate the exception from ReadFilter (at least
IOException).
Can you pls. give an example here what exception you want to handle
and how you want to process it?
> In async send case, I don't yet have a clue. How will I hook in to
> get the exception?
Pass AsyncWriteCallbackHandler together with ByteBuffer.
WBR,
Alexey.
>
>
> In sync send case, I understand this case.
>
>
> Regards,
> John
>
>
>