DACommunicationException

Overview

Exceptions of the type DACommunicationException are raised by the RemoteDataAdapter and RemoteCommand classes when the remote request's parameters are misconfigured, for example when DataRequestCall is not defined (see Remote Data Adapters for more details).

Location


 

constructor    (declared in ServerException)

 

constructor

 

DACommunicationException()

 

Sub New()

constructor (SerializationInfo, StreamingContext)

 

constructor(info: SerializationInfo; context: StreamingContext)

 

DACommunicationException(SerializationInfo info, StreamingContext context)

 

Sub New(info As SerializationInfo, context As StreamingContext)

Parameters:

  • info:
  • context:

constructor (String)

Initializes a new DACommunicationException object with a specified error message. The aMessage parameter describes the error message.

 

constructor(message: String)

 

DACommunicationException(String message)

 

Sub New(message As String)

Parameters:

  • message:

constructor (String, Boolean)

Initializes a new instance of the DACommunicationException class with a specified error message. The aMessage parameter describes the error message. If iFromServer is true, the exception is raised on the server, otherwise on the client. If the error occurred on the server, the resulting aMessage will be "An exception occurred on the server: "+aMessage.

 

constructor(message: String; fromServer: Boolean)

 

DACommunicationException(String message, Boolean fromServer)

 

Sub New(message As String, fromServer As Boolean)

Parameters:

  • message:
  • fromServer:

constructor (String, Exception)

 

constructor(message: String; innerException: Exception)

 

DACommunicationException(String message, Exception innerException)

 

Sub New(message As String, innerException As Exception)

Parameters:

  • message:
  • innerException:

constructor (String, array of Object)

Initializes a new instance of the DACommunicationException class with a specified error message. The aMessage parameter describes the error message. aParamList describes the parameters of the specified error.

 

constructor(message: String; params parameters: array of Object)

 

DACommunicationException(String message, params Object[] parameters)

 

Sub New(message As String, ParamArray parameters As Object())

Parameters:

  • message:
  • parameters:

FromServer    (declared in ServerException)

This property is set to true if the exception was received from the server and was re-thrown on the client tier. It's false if the exception was thrown on the same tier as the code processing it.

 

property FromServer: Boolean read;

 

Boolean FromServer { get; }

 

ReadOnly Property FromServer() As Boolean

GetAttributeCount    (declared in ServerException)

 

method GetAttributeCount: Int32

 

Int32 GetAttributeCount()

 

Function GetAttributeCount() As Int32

GetAttributeName    (declared in ServerException)

 

method GetAttributeName(index: Int32): String

 

String GetAttributeName(Int32 index)

 

Function GetAttributeName(index As Int32) As String

Parameters:

  • index:

GetAttributeValue    (declared in ServerException)

 

method GetAttributeValue(index: Int32): String

 

String GetAttributeValue(Int32 index)

 

Function GetAttributeValue(index As Int32) As String

Parameters:

  • index:

ServerStackTrace    (declared in ServerException)

The stack trace of the exception location obtained from the server, if available.

 

property ServerStackTrace: String read write;

 

String ServerStackTrace { get; set; }

 

Property ServerStackTrace() As String

ToString    (declared in ServerException)

 

method ToString: String

 

String ToString()

 

Function ToString() As String

 

FromServer    (declared in ServerException)

This property is set to true if the exception was received from the server and was re-thrown on the client tier. It's false if the exception was thrown on the same tier as the code processing it.

 

property FromServer: Boolean read;

 

Boolean FromServer { get; }

 

ReadOnly Property FromServer() As Boolean

ServerStackTrace    (declared in ServerException)

The stack trace of the exception location obtained from the server, if available.

 

property ServerStackTrace: String read write;

 

String ServerStackTrace { get; set; }

 

Property ServerStackTrace() As String

 

constructor    (declared in ServerException)

 

constructor

 

DACommunicationException()

 

Sub New()

constructor (SerializationInfo, StreamingContext)

 

constructor(info: SerializationInfo; context: StreamingContext)

 

DACommunicationException(SerializationInfo info, StreamingContext context)

 

Sub New(info As SerializationInfo, context As StreamingContext)

Parameters:

  • info:
  • context:

constructor (String)

Initializes a new DACommunicationException object with a specified error message. The aMessage parameter describes the error message.

 

constructor(message: String)

 

DACommunicationException(String message)

 

Sub New(message As String)

Parameters:

  • message:

constructor (String, Boolean)

Initializes a new instance of the DACommunicationException class with a specified error message. The aMessage parameter describes the error message. If iFromServer is true, the exception is raised on the server, otherwise on the client. If the error occurred on the server, the resulting aMessage will be "An exception occurred on the server: "+aMessage.

 

constructor(message: String; fromServer: Boolean)

 

DACommunicationException(String message, Boolean fromServer)

 

Sub New(message As String, fromServer As Boolean)

Parameters:

  • message:
  • fromServer:

constructor (String, Exception)

 

constructor(message: String; innerException: Exception)

 

DACommunicationException(String message, Exception innerException)

 

Sub New(message As String, innerException As Exception)

Parameters:

  • message:
  • innerException:

constructor (String, array of Object)

Initializes a new instance of the DACommunicationException class with a specified error message. The aMessage parameter describes the error message. aParamList describes the parameters of the specified error.

 

constructor(message: String; params parameters: array of Object)

 

DACommunicationException(String message, params Object[] parameters)

 

Sub New(message As String, ParamArray parameters As Object())

Parameters:

  • message:
  • parameters:

GetAttributeCount    (declared in ServerException)

 

method GetAttributeCount: Int32

 

Int32 GetAttributeCount()

 

Function GetAttributeCount() As Int32

GetAttributeName    (declared in ServerException)

 

method GetAttributeName(index: Int32): String

 

String GetAttributeName(Int32 index)

 

Function GetAttributeName(index As Int32) As String

Parameters:

  • index:

GetAttributeValue    (declared in ServerException)

 

method GetAttributeValue(index: Int32): String

 

String GetAttributeValue(Int32 index)

 

Function GetAttributeValue(index As Int32) As String

Parameters:

  • index:

ToString    (declared in ServerException)

 

method ToString: String

 

String ToString()

 

Function ToString() As String