|
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 When calling a POJO method what is the preferred way
to signal the -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS
|
- [flexcoders] Signaling errors in POJO Mike_Robinson_98
- RE: [flexcoders] Signaling errors in POJO Peter Farland
- [flexcoders] Re: Signaling errors in POJO Mike_Robinson_98

