-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
My thought was to match up what the faultCode comes to me as and give
them a plain English version of the message. In my application, if the
computer does not have an internet connection for some reason, it will
through an HTTP Failed which I translate into This computer is unable
to access the Internet for some reason, please check your internet
connection or contact your Information Technology Department for
further assistance.

Brad Wood wrote:
> I don't know if I am totally following you-- usually I don't bother users
> with technical details about the error.  They probably don't care about
the
> database, or TCP socket, or other technical details.  I just say at most,
> "There was a problem retrieving subscription data from the server", not
"The
> ODBC driver reported a connection timeout error 34903".
>
> If you want to know all the possible errors that Flash/Flex/Air can throw-
> Adobe has all the error codes documented in their site.  I'm not sure
if the
> event.fault.faultCode can also pass through native error codes from
your app
> server or not.
>
> ~Brad
>
> ----- Original Message -----
> From: "Graham Pearson" <[EMAIL PROTECTED]>
> To: "flex" <[email protected]>
> Sent: Wednesday, November 12, 2008 9:21 AM
> Subject: fault.faultCode List
>
>
>> In my Flex/Air application for www.weareclosedtoday.com, I have Alert
>> Boxes at anytime something goes wrong with the Remote Calls which just
>> displays event.fault.faultCode and event.fault.faultString. In my
>> thought process, I am wanting to create custom error messages for
>> various types of errors but not knowing what the  codes might be makes
>> it hard to create the screen to display the error message.
>>
>>
>> Ideas?
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: http://www.houseoffusion.com/groups/flex/message.cfm/messageid:5534
Subscription: http://www.houseoffusion.com/groups/flex/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37

Reply via email to