In Flex 1.5 a GatewayException constructs an Object that is based on the AMF NetStatusEvent's info object. This object has the properties code, description, details, level, type, rootcause. However, if a GatewayException itself isn't thrown, then the only information available is that as returned by Throwable.getMessage(). This should be available from Fault.faultstring. If the Throwable was something like a NullPointerException, then unfortunately no message is provided from Throwable.getMessage().
I suggest turning on debug level logging in the /WEB-INF/flex/gateway-config.xml file and watching the server logs (or console if the app server was launched on the command line). Looking forward, we've refactored a lot of the fault / error handling and made it consistent in Flex 2. We're also working to get better support for custom exceptions to make it back to the client (including exception serialization in a bean like manner of other properties). As to your specific point about WebService/RemoteObject and things like "faultActor", this is expected as WebService faults may contain more information from SOAPFaults. The core properties, however, should still be there for both services as per the Fault type. If you're interested in helping us out to test/review any this please have download and try out the new Flex Enterprise Services (FES) 2 beta. Regards, Pete ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Shlomi Cohen Sent: Wednesday, March 01, 2006 12:29 PM To: '[email protected]' Subject: [flexcoders] Remote Objects and Exceptions Hi We are working with Remote Objects with Spring (through the SpringBeanAdapter). as i understand a GatewayException is thrown at the server and somehow translated to the client. the problem is i could not find any public member at the Fault object that could give me some details. only when i referred to private members like __detail , __code etc. i have put a breakpoint at the debugger and so there aren't any public members that i could query . another thing is that the fault object is not compatible between WebServices and RemoteObjects. - isn't that break the concept of "work seamlessly with any method you like " for example the Remote Object Fault does not have the member "faultActor" while the WS version has it. any thoughts ? Shlomi _______________________________ Shlomi Cohen, CCM R&D, [EMAIL PROTECTED] direct 972.3.5399151 mobile 972.52.5697015 fax 972.3.5331617 www.mercury.com <http://www.mercury.com> ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ -- 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 Web site design development <http://groups.yahoo.com/gads?t=ms&k=Web+site+design+development&w1=Web+ site+design+development&w2=Computer+software+development&w3=Software+des ign+and+development&w4=Macromedia+flex&w5=Software+development+best+prac tice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ> Computer software development <http://groups.yahoo.com/gads?t=ms&k=Computer+software+development&w1=We b+site+design+development&w2=Computer+software+development&w3=Software+d esign+and+development&w4=Macromedia+flex&w5=Software+development+best+pr actice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw> Software design and development <http://groups.yahoo.com/gads?t=ms&k=Software+design+and+development&w1= Web+site+design+development&w2=Computer+software+development&w3=Software +design+and+development&w4=Macromedia+flex&w5=Software+development+best+ practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ> Macromedia flex <http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Web+site+design+ development&w2=Computer+software+development&w3=Software+design+and+deve lopment&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=1 66&.sig=OO6nPIrz7_EpZI36cYzBjw> Software development best practice <http://groups.yahoo.com/gads?t=ms&k=Software+development+best+practice& w1=Web+site+design+development&w2=Computer+software+development&w3=Softw are+design+and+development&w4=Macromedia+flex&w5=Software+development+be st+practice&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw> ________________________________ YAHOO! GROUPS LINKS * Visit your group "flexcoders <http://groups.yahoo.com/group/flexcoders> " on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> . ________________________________ -- 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/

