[ 
http://issues.apache.org/jira/browse/JAMES-700?page=comments#action_12451160 ] 
            
Joachim Draeger commented on JAMES-700:
---------------------------------------

I hope we'll be able to wipe out the most annoying RuntimeExceptions soon. 
IMO catching RuntimeException would lead to undefined behavior and would make 
reporting bugs more diffuse. 
At the moment I don't see a problems with merging, if there are only a few 
lines to catch exceptions.



> James resets connection when command throws RuntimeException
> ------------------------------------------------------------
>
>                 Key: JAMES-700
>                 URL: http://issues.apache.org/jira/browse/JAMES-700
>             Project: James
>          Issue Type: Improvement
>          Components: IMAPServer
>            Reporter: Robert Burrell Donkin
>             Fix For: Trunk
>
>         Attachments: james-imap-client-unstable.patch, 
> james-imap-runtime-catch.patch
>
>
> I think that whenever a exception is thrown when processing an IMAP command 
> the socket connection is reset. This behaviour seems little less polite than 
> it needs to be. IMAP is stateless and IMHO errors should be returned within 
> the band. 

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to