EROUnknownType

Overview

This exception is raised by the Remoting SDK streaming infrastructure if a complex type, that has not been registered, is found in the received message. The most common cause for this exception is a mismatch between _Intf on client and server. For example new types have been added to the RODL on the server side, but the client application has not been updated to use the latest version of the _Intf file. Or the application uses complex types defined in code, that are not properly registered on both client and server.

Location

 

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.

 

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:

 

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.