EDAUpdatesFailedException

Overview

The EDAUpdatesFailedException class represents exceptions that are raised during the execution of updates on the client side. Exceptions of the type EDAUpdatesFailedException are raised by TDABaseDataAdapter and its descendants when there is a failure on the server side while applying data changes.

Location

 

constructor Create (string)  overload

Initializes a new EDAUpdatesFailedException object with a specified error message aMessage and an empty list of failed changes.

constructor Create(aMessage: string)

Parameters:

  • aMessage: Error message

constructor Create (string, TDADeltaChangeArray)  overload

Initializes a new EDAUpdatesFailedException object with a specified error message aMessage and a list of failed data changes aChanges.

constructor Create(aMessage: string; aChanges: TDADeltaChangeArray)

Parameters:

  • aMessage: Error message
  • aChanges: List of failed changed rows

Changes

The list of TDADeltaChange objects that contain failed data changes.

property Changes: TDADeltaChangeArray read write

Clone    (declared in EROException)

function Clone: EROException

GetAttributeCount  virtual    (declared in EROException)

Returns the number of custom attributes defined for the class. The code generator always overrides this method to return actual data for the certain class.

This method is for internal use for SOAP processing.

class function GetAttributeCount: Integer

GetAttributeName  virtual    (declared in EROException)

Returns the name of custom attribute defined for the class, with the specified index. The code generator always overrides this method to return actual data for the certain class.

This method is for internal use for SOAP processing.

class function GetAttributeName(aIndex: Integer): string

Parameters:

  • aIndex: The index of attribute.

GetAttributeValue  virtual    (declared in EROException)

Returns the value of custom attribute defined for the class, with the specified index. The code generator always overrides this method to return actual data for the certain class.

This method is for internal use for SOAP processing.

class function GetAttributeValue(aIndex: Integer): string

Parameters:

  • aIndex: The index of attribute.

ReadException  virtual    (declared in EROException)

Deserializes the exception instance from the serializer object. The code generator always overrides this method. The method is called intenally, users have no need to call it.

procedure ReadException(ASerializer: TROBaseSerializer)

Parameters:

  • ASerializer: The serializer object containing the exception to read.

TryGetAttribute    (declared in EROException)

class function TryGetAttribute(aName: string; out aValue: string): Boolean

Parameters:

  • aName:
  • aValue:

WriteException  virtual    (declared in EROException)

Serializes the exception instance to the serializer object. The code generator always overrides this method. The method is called intenally, users have no need to call it.

procedure WriteException(ASerializer: TROBaseSerializer)

Parameters:

  • ASerializer: The serializer object to write the instance into.

 

Changes

The list of TDADeltaChange objects that contain failed data changes.

property Changes: TDADeltaChangeArray read write

 

GetAttributeCount  virtual    (declared in EROException)

Returns the number of custom attributes defined for the class. The code generator always overrides this method to return actual data for the certain class.

This method is for internal use for SOAP processing.

class function GetAttributeCount: Integer

GetAttributeName  virtual    (declared in EROException)

Returns the name of custom attribute defined for the class, with the specified index. The code generator always overrides this method to return actual data for the certain class.

This method is for internal use for SOAP processing.

class function GetAttributeName(aIndex: Integer): string

Parameters:

  • aIndex: The index of attribute.

GetAttributeValue  virtual    (declared in EROException)

Returns the value of custom attribute defined for the class, with the specified index. The code generator always overrides this method to return actual data for the certain class.

This method is for internal use for SOAP processing.

class function GetAttributeValue(aIndex: Integer): string

Parameters:

  • aIndex: The index of attribute.

TryGetAttribute    (declared in EROException)

class function TryGetAttribute(aName: string; out aValue: string): Boolean

Parameters:

  • aName:
  • aValue:

 

constructor Create (string)  overload

Initializes a new EDAUpdatesFailedException object with a specified error message aMessage and an empty list of failed changes.

constructor Create(aMessage: string)

Parameters:

  • aMessage: Error message

constructor Create (string, TDADeltaChangeArray)  overload

Initializes a new EDAUpdatesFailedException object with a specified error message aMessage and a list of failed data changes aChanges.

constructor Create(aMessage: string; aChanges: TDADeltaChangeArray)

Parameters:

  • aMessage: Error message
  • aChanges: List of failed changed rows

Clone    (declared in EROException)

function Clone: EROException

ReadException  virtual    (declared in EROException)

Deserializes the exception instance from the serializer object. The code generator always overrides this method. The method is called intenally, users have no need to call it.

procedure ReadException(ASerializer: TROBaseSerializer)

Parameters:

  • ASerializer: The serializer object containing the exception to read.

WriteException  virtual    (declared in EROException)

Serializes the exception instance to the serializer object. The code generator always overrides this method. The method is called intenally, users have no need to call it.

procedure WriteException(ASerializer: TROBaseSerializer)

Parameters:

  • ASerializer: The serializer object to write the instance into.

See Also