EDADriverLoadException

Overview

The EDADriverLoadException class represents the base information about exceptions that were raised while loading a specified driver.

The EDADriverLoadException is the ancestor class for the descendant EDADriverAlreadyLoaded and EDASchemaModelerOnly classes, which register the exceptions when the specified driver is not in the Schema Modeler or is already loaded at startup.

The EDADriverLoadException can be used as the base exception, which will contain the base information (error message, error code) about the exceptions that occur while loading the driver.

Location


 

constructor Create

Creates a new EDADriverLoadException object with specified error code and error message.

constructor Create(anErrorCode: Integer; const anErrorMessage: string)

Parameters:

  • anErrorCode: Specified error code
  • anErrorMessage: Specified error message

Assign  virtual    (declared in EROException)

Copies data from a given source.

procedure Assign(Source: EROException)

Parameters:

  • Source:

Clone    (declared in EROException)

function Clone: EROException

ErrorCode

Contains the error code that is associated with the current exception.

property ErrorCode: Integer read

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)

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 WriteException(aSerializer: TROBaseSerializer)

Parameters:

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

 

ErrorCode

Contains the error code that is associated with the current exception.

property ErrorCode: Integer read

 

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

Creates a new EDADriverLoadException object with specified error code and error message.

constructor Create(anErrorCode: Integer; const anErrorMessage: string)

Parameters:

  • anErrorCode: Specified error code
  • anErrorMessage: Specified error message

Assign  virtual    (declared in EROException)

Copies data from a given source.

procedure Assign(Source: EROException)

Parameters:

  • Source:

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)

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 WriteException(aSerializer: TROBaseSerializer)

Parameters:

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