[jboss-jira] [JBoss JIRA] Commented: (JBREM-543) fix servlet invoker error handling to be more like that of the http invoker

John Mazzitelli (JIRA) jira-events at jboss.com
Sat Jul 15 17:11:11 EDT 2006


    [ http://jira.jboss.com/jira/browse/JBREM-543?page=comments#action_12339651 ] 
            
John Mazzitelli commented on JBREM-543:
---------------------------------------

let me correct myself, that first sentence should be:

"at least to return an Exception OBJECT"

I would like invoke to return a java.lang.Exception object, not a java.lang.String

> fix servlet invoker error handling to be more like that of the http invoker
> ---------------------------------------------------------------------------
>
>                 Key: JBREM-543
>                 URL: http://jira.jboss.com/jira/browse/JBREM-543
>             Project: JBoss Remoting
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 2.0.0.Beta2 (Boon)
>            Reporter: Tom  Elrod
>         Assigned To: Tom  Elrod
>             Fix For: 2.0.0.CR1 (Boon)
>
>
> Need to change the servlet invoker so on client side will not throw an exception out of the Client's invoke() method call, but just return the error (as text in most cases) and have the response code indicate the error status code (e.g. 500).  Although this is not exactly how the http invoker handles exceptions from the http server invoker, is only way to reliably get errors from web containers (like Tomcat).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list