Packagecom.lightstreamer.as_client.events
Classpublic class DataErrorEvent
InheritanceDataErrorEvent Inheritance LSClientEvent Inheritance flash.events.Event

Dispatched whenever an update received from the Server could not be processed, because of an unexpected error in the data flow or a runtime exception.

In principle, Flex environment specific resource limits may be hit because of a very huge data flow.

This notification should never occur in a normal case. Since it occurs, the consistency of the update flow may be compromised.

After such notification is sent, the client may opt to close the session and to open a new one. Anyway any decision took during the handling of the event by custom code will take precedence.

See also

http://livedocs.adobe.com/flex/3/langref/flash/errors/MemoryError.html
http://livedocs.adobe.com/flex/3/langref/flash/errors/ScriptTimeoutError.html
http://livedocs.adobe.com/flex/3/langref/flash/errors/StackOverflowError.html


Public Properties
 PropertyDefined By
 Inheritedclient : LSClient
[read-only] The LSClient which this event is related to.
LSClientEvent
  error : Error
[read-only] Runtime Error that originated this event
DataErrorEvent
Public Constants
 ConstantDefined By
  DATA_ERROR : String = dataError
[static] Define the value of the type property of a DataErrorEvent event object.
DataErrorEvent
Property Detail
errorproperty
error:Error  [read-only]

Runtime Error that originated this event


Implementation
    public function get error():Error
Constant Detail
DATA_ERRORConstant
public static const DATA_ERROR:String = dataError

Define the value of the type property of a DataErrorEvent event object.