DAException
Overview
The DAException class is a base class for all Data Abstract exceptions. The DAException should not be raised directly, instead, you can use exceptions derived from this class.
Location
- Reference: RemObjects.DataAbstract.dll
- Namespace: RemObjects.DataAbstract
- Ancestry: Exception | ServerException | DAException | Descendants
constructor (declared in ServerException)
constructor
DAException()
Sub New
constructor (String)
Creates a new instance of the DAException class with the given exception message.
constructor(message: String)
DAException(String message)
Sub New (message As String)
Parameters:
- message:
constructor (String, array of Object)
Creates a new instance of the DAException class with the given exception message and parameters.
constructor(message: String; params parameters: array of Object)
DAException(String message, params Object[] parameters)
Sub New (message As String, ParamArray parameters As array of Object)
Parameters:
- message:
- parameters:
constructor (String, Boolean)
Creates a new instance of the DAException class with the given exception message. The boolean flag aFromServer indicates whether exceptions occured on the server or on the client side.
If aFromServer is set to true, the exception message will be prefixed with "An exception occurred on the server: " string.
constructor(message: String; fromServer: Boolean)
DAException(String message, Boolean fromServer)
Sub New (message As String, fromServer As Boolean)
Parameters:
- message:
- fromServer:
constructor (String, Exception)
constructor(message: String; innerException: Exception)
DAException(String message, Exception innerException)
Sub New (message As String, innerException As Exception)
Parameters:
- message:
- innerException:
constructor (SerializationInfo, StreamingContext) protected
Creates a new instance of the DAException class with serialized data.
constructor(info: SerializationInfo; context: StreamingContext)
DAException(SerializationInfo info, StreamingContext context)
Sub New (info As SerializationInfo, context As StreamingContext)
Parameters:
- info:
- context:
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; }
Property ReadOnly 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
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; }
Property ReadOnly 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
DAException()
Sub New
constructor (String)
Creates a new instance of the DAException class with the given exception message.
constructor(message: String)
DAException(String message)
Sub New (message As String)
Parameters:
- message:
constructor (String, array of Object)
Creates a new instance of the DAException class with the given exception message and parameters.
constructor(message: String; params parameters: array of Object)
DAException(String message, params Object[] parameters)
Sub New (message As String, ParamArray parameters As array of Object)
Parameters:
- message:
- parameters:
constructor (String, Boolean)
Creates a new instance of the DAException class with the given exception message. The boolean flag aFromServer indicates whether exceptions occured on the server or on the client side.
If aFromServer is set to true, the exception message will be prefixed with "An exception occurred on the server: " string.
constructor(message: String; fromServer: Boolean)
DAException(String message, Boolean fromServer)
Sub New (message As String, fromServer As Boolean)
Parameters:
- message:
- fromServer:
constructor (String, Exception)
constructor(message: String; innerException: Exception)
DAException(String message, Exception innerException)
Sub New (message As String, innerException As Exception)
Parameters:
- message:
- innerException:
constructor (SerializationInfo, StreamingContext) protected
Creates a new instance of the DAException class with serialized data.
constructor(info: SerializationInfo; context: StreamingContext)
DAException(SerializationInfo info, StreamingContext context)
Sub New (info As SerializationInfo, context As StreamingContext)
Parameters:
- info:
- context:
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: