Adobe® Flex® 4 Language Reference
Show Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
mx.data.messages 
DataErrorMessage 
Packagemx.data.messages
Classpublic class DataErrorMessage
InheritanceDataErrorMessage Inheritance ErrorMessage Inheritance AcknowledgeMessage Inheritance AsyncMessage Inheritance AbstractMessage Inheritance Object

Language Version: ActionScript 3.0
Product Version: LiveCycle Data Services 3
Runtime Versions: Flash Player 9, AIR 1.1

Special cases of ErrorMessage will be sent when a data conflict occurs. This message provides the conflict information in addition to the ErrorMessage information.



Public Properties
 PropertyDefined By
 Inheritedbody : Object
The body of a message contains the specific data that needs to be delivered to the remote destination.
AbstractMessage
  cause : DataMessage
The client originated message which caused the conflict.
DataErrorMessage
 InheritedclientId : String
The clientId indicates which MessageAgent sent the message.
AbstractMessage
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 InheritedcorrelationId : String
Provides access to the correlation id of the message.
AsyncMessage
 Inheriteddestination : String
The message destination.
AbstractMessage
 InheritedextendedData : Object
Extended data that the remote destination has chosen to associate with this error to facilitate custom error processing on the client.
ErrorMessage
 InheritedfaultCode : String
The fault code for the error.
ErrorMessage
 InheritedfaultDetail : String
Detailed description of what caused the error.
ErrorMessage
 InheritedfaultString : String
A simple description of the error.
ErrorMessage
 Inheritedheaders : Object
The headers of a message are an associative array where the key is the header name and the value is the header value.
AbstractMessage
 InheritedmessageId : String
The unique id for the message.
AbstractMessage
  propertyNames : Array
An array of properties that were found to be conflicting between the client and server objects.
DataErrorMessage
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
  removeFromFillConflictDetails : RemoveFromFillConflictDetails
In the case of a conflict caused by a remove item from fill message, this bean will contain information necessary to make the proper callback if the client chooses to accept the server version.
DataErrorMessage
 InheritedrootCause : Object
Should a root cause exist for the error, this property contains those details.
ErrorMessage
  serverObject : Object
The value that the server had for the object with the conflicting properties.
DataErrorMessage
 Inheritedtimestamp : Number
Provides access to the time stamp for the message.
AbstractMessage
 InheritedtimeToLive : Number
The time to live value of a message indicates how long the message should be considered valid and deliverable.
AbstractMessage
Public Methods
 MethodDefined By
  
Constructs an instance of a DataErrorMessage.
DataErrorMessage
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns a string representation of the message.
AbstractMessage
 Inherited
Returns the primitive value of the specified object.
Object
Public Constants
 ConstantDefined By
 InheritedDESTINATION_CLIENT_ID_HEADER : String = "DSDstClientId"
[static] Messages pushed from the server may arrive in a batch, with messages in the batch potentially targeted to different Consumer instances.
AbstractMessage
 InheritedENDPOINT_HEADER : String = "DSEndpoint"
[static] Messages are tagged with the endpoint id for the Channel they are sent over.
AbstractMessage
 InheritedERROR_HINT_HEADER : String = "DSErrorHint"
[static] Header name for the error hint header.
AcknowledgeMessage
 InheritedFLEX_CLIENT_ID_HEADER : String = "DSId"
[static] This header is used to transport the global FlexClient Id value in outbound messages once it has been assigned by the server.
AbstractMessage
 InheritedMESSAGE_DELIVERY_IN_DOUBT : String = "Client.Error.DeliveryInDoubt"
[static] If a message may not have been delivered, the faultCode will contain this constant.
ErrorMessage
 InheritedPRIORITY_HEADER : String = "DSPriority"
[static] Messages sent by a MessageAgent can have a priority header with a 0-9 numerical value (0 being lowest) and the server can choose to use this numerical value to prioritize messages to clients.
AbstractMessage
 InheritedREMOTE_CREDENTIALS_CHARSET_HEADER : String = "DSRemoteCredentialsCharset"
[static] Messages that need to set remote credentials for a destination may also need to report the character-set encoding that was used to create the credentials String using this header.
AbstractMessage
 InheritedREMOTE_CREDENTIALS_HEADER : String = "DSRemoteCredentials"
[static] Messages that need to set remote credentials for a destination carry the Base64 encoded credentials in this header.
AbstractMessage
 InheritedREQUEST_TIMEOUT_HEADER : String = "DSRequestTimeout"
[static] Messages sent with a defined request timeout use this header.
AbstractMessage
 InheritedRETRYABLE_HINT_HEADER : String = "DSRetryableErrorHint"
[static] Header name for the retryable hint header.
ErrorMessage
 InheritedSTATUS_CODE_HEADER : String = "DSStatusCode"
[static] A status code can provide context about the nature of a response message.
AbstractMessage
 InheritedSUBTOPIC_HEADER : String = "DSSubtopic"
[static] Messages sent by a MessageAgent with a defined subtopic property indicate their target subtopic in this header.
AsyncMessage
Property Detail

cause

property
public var cause:DataMessage

Language Version: ActionScript 3.0
Product Version: LiveCycle Data Services 3
Runtime Versions: Flash Player 9, AIR 1.1

The client originated message which caused the conflict.

propertyNames

property 
public var propertyNames:Array

Language Version: ActionScript 3.0
Product Version: LiveCycle Data Services 3
Runtime Versions: Flash Player 9, AIR 1.1

An array of properties that were found to be conflicting between the client and server objects.

removeFromFillConflictDetails

property 
public var removeFromFillConflictDetails:RemoveFromFillConflictDetails

Language Version: ActionScript 3.0
Product Version: LiveCycle Data Services 3
Runtime Versions: Flash Player 9, AIR 1.1

In the case of a conflict caused by a remove item from fill message, this bean will contain information necessary to make the proper callback if the client chooses to accept the server version.

serverObject

property 
public var serverObject:Object

Language Version: ActionScript 3.0
Product Version: LiveCycle Data Services 3
Runtime Versions: Flash Player 9, AIR 1.1

The value that the server had for the object with the conflicting properties.

Constructor Detail

DataErrorMessage

()Constructor
public function DataErrorMessage()

Language Version: ActionScript 3.0
Product Version: LiveCycle Data Services 3
Runtime Versions: Flash Player 9, AIR 1.1

Constructs an instance of a DataErrorMessage.