mx.data.messages

# DataErrorMessage - AS3 ADEP Data Services

Package | mx.data.messages
Class | public class DataErrorMessage
Inheritance | DataErrorMessage ErrorMessage AcknowledgeMessage AsyncMessage AbstractMessage Object

Language Version: | ActionScript 3.0

Product Version: | Adobe Digital Enterprise Platform Data Services for Java EE 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
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | body : 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
|  | clientId : String The clientId indicates which MessageAgent sent the message. | AbstractMessage
|  | constructor : Object A reference to the class object or constructor function for a given object instance. | Object
|  | correlationId : String Provides access to the correlation id of the message. | AsyncMessage
|  | destination : String The message destination. | AbstractMessage
|  | extendedData : Object Extended data that the remote destination has chosen to associate with this error to facilitate custom error processing on the client. | ErrorMessage
|  | faultCode : String The fault code for the error. | ErrorMessage
|  | faultDetail : String Detailed description of what caused the error. | ErrorMessage
|  | faultString : String A simple description of the error. | ErrorMessage
|  | headers : 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
|  | messageId : 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
|  | 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
|  | rootCause : 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
|  | timestamp : Number Provides access to the time stamp for the message. | AbstractMessage
|  | timeToLive : Number The time to live value of a message indicates how long the message should be considered valid and deliverable. | AbstractMessage

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | DataErrorMessage() Constructs an instance of a DataErrorMessage. | DataErrorMessage
|  | hasOwnProperty(name:String):Boolean Indicates whether an object has a specified property defined. | Object
|  | isPrototypeOf(theClass:Object):Boolean Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter. | Object
|  | propertyIsEnumerable(name:String):Boolean Indicates whether the specified property exists and is enumerable. | Object
|  | setPropertyIsEnumerable(name:String, isEnum:Boolean = true):void Sets the availability of a dynamic property for loop operations. | Object
|  | toLocaleString():String Returns the string representation of this object, formatted according to locale-specific conventions. | Object
|  | toString():String Returns a string representation of the message. | AbstractMessage
|  | valueOf():Object Returns the primitive value of the specified object. | Object

Public Constants
Hide Inherited Public Constants
Show Inherited Public Constants

| Constant | Defined By
--- | --- | ---

Property Detail

### cause

property

`public var cause:DataMessage`

Language Version: | ActionScript 3.0

Product Version: | Adobe Digital Enterprise Platform Data Services for Java EE 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: | Adobe Digital Enterprise Platform Data Services for Java EE 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: | Adobe Digital Enterprise Platform Data Services for Java EE 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: | Adobe Digital Enterprise Platform Data Services for Java EE 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: | Adobe Digital Enterprise Platform Data Services for Java EE 3

Runtime Versions: | Flash Player 9, AIR 1.1

Constructs an instance of a DataErrorMessage.

© 2015 Adobe Systems Incorporated. All rights reserved.
Mon Apr 10 2017, 12:28 PM -07:00