Package | mx.collections.errors |
Class | public class ItemPendingError |
Inheritance | ItemPendingError Error |
If the receiver of this error needs notification when the requested item
becomes available (that is, when the asynchronous call completes), it must
use the addResponder()
method and specify
an object that supports the mx.rpc.IResponder
interface to respond when the item is available.
The mx.collections.ItemResponder
class implements the
IResponder interface and supports a data
property.
See also
Property | Defined by | ||
---|---|---|---|
responders : Array [read-only]
An array of IResponder handlers that will be called when
the asynchronous request completes.
| ItemPendingError |
Method | Defined by | ||
---|---|---|---|
ItemPendingError(message:String)
Constructor.
| ItemPendingError | ||
addResponder(responder:IResponder):void
addResponder adds a responder to an Array of responders. | ItemPendingError |
responders | property |
responders:Array
[read-only]An array of IResponder handlers that will be called when the asynchronous request completes.
Implementation public function get responders():Array
ItemPendingError | () | constructor |
public function ItemPendingError(message:String)
Constructor.
Called by the Flex Framework when a request is made for an item that isn't local.
Parametersmessage:String — A message providing information about the error cause.
|
addResponder | () | method |
public function addResponder(responder:IResponder):void
addResponder
adds a responder to an Array of responders.
The object assigned to the responder parameter must implement the
mx.rpc.IResponder interface.
responder:IResponder — A handler which will be called when the asynchronous request completes.
|
See also