Flex 故障代码列表 [英] Flex faultCode list

查看:24
本文介绍了Flex 故障代码列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有 Flex 的故障对象 (mx.rpc.Fault; Flex SDK: 3.4) 的可能的故障代码值列表?

Is there a list of possible faultCode values for Flex's Fault object (mx.rpc.Fault; Flex SDK: 3.4)?

客户端产生的故障至少有faultCodes?

At least faultCodes for faults generated on the client side?

我正在考虑类似于可能的运行时错误列表的内容,位于 Adobe 的 RTE 列表,但对于错误代码(例如 Client.Error.MessageSend、Server.Processing 等).

I'm thinking of something like the list of possible runtime errors, found at Adobe's RTE List, but for faultCodes (such as Client.Error.MessageSend, Server.Processing, etc).

很可能是我对我的问题的理解不够深入,无法进行体面的搜索,但我一整天都没有想出什么.也可能只有一两个客户端的故障代码值.似乎没有服务器端故障代码值的完整列表是有道理的,但也许有一个 BlazeDS/LiveCycle 故障代码列表?

Could very well be that I just don't understand my problem well enough to do a decent search, but I've come up with nothing all day. It may also be that there is only one or two client-side faultCode values. Seems like it would make sense that there wouldn't be a comprehensive list of server-side faultCode values, but maybe there's a list of BlazeDS/LiveCycle faultCodes?

非常感谢任何帮助.

推荐答案

所以,看起来答案几乎是不".我想这是有道理的,因为大多数服务器端故障都来自服务器.我认为至少会有一个标准故障类型列表,作为 BlazeDS 和/或 LCDS 的一部分.

So, it looks like the answer is pretty much "No". I guess this makes sense, I guess, since most server-side faults would come from the server. I figured there would be a list of standard fault types, at least, as part of BlazeDS and/or LCDS.

这是一篇关于在 BlazeDS 中设置异常处理的很好的帖子.很好地解释了为什么这个问题的答案是否定的,并提供了一种在 BlazeDS 中处理异常的好方法,这将为您提供自定义的故障代码列表.

Here's a pretty good post about setting up exception handling in BlazeDS. Does a good job of explaining why the answer to this question is No, as well as providing a good way of handling exceptions in BlazeDS, which would give you a custom list of fault codes.

http://www.flexpasta.com/index.php/2008/05/16/exception-handling-with-blazeds-and-flex/

这篇关于Flex 故障代码列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆