Thanks, that makes sense on how flex handles it, I just couldn't find
the explanation in the documentation. I appreciate your feedback.

The high level message should be sufficient for my purposes.

-Mike
--- In [email protected], "Peter Farland" <[EMAIL PROTECTED]> wrote:
>
> I think throwing an exception is ok - in Flex 2 this should be handled
> better where by we now use bean-rules to serialize Throwable instances
> (including read only properties) and return root cause chains too. The
> client will always receive an mx.rpc.events.FaultEvent which always has
> an mx.rpc.Fault instance that will contain the high level message
> information from your exception, but the rootCause will be the
> serialized bean info of your throwable type (and technically you could
> even create ActionScript types mapped to the Java throwable types using
> [RemoteClass(alias="xyz")]).
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
> ________________________________
> 
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of Mike_Robinson_98
> Sent: Thursday, June 29, 2006 3:53 PM
> To: [email protected]
> Subject: [flexcoders] Signaling errors in POJO
> 
>  
> 
> When calling a POJO method what is the preferred way to signal the
> RemotingService that an error condition has occurred? This error may
> not necessarily throw an exception in the POJO (maybe it just did not
> find any results). And how you include in that signal specific
> information about the error that could be returned to the user?
> 
> Thanks,
> Mike
>







------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to