DAConfigurationException
Overview
DAConfigurationException class represents errors that can be raised during reading & parsing configuration xml file (DataAbstract.daConfig). If you got that kind of exception then it means that configuration file has wrong structure.
try
{
RemObjects.DataAbstract.Server.Configuration.Load();
}
catch (DAConfigurationException ex)
{
//wrong structure of the "DataAbstract.daConfig" file?
}
In most cases you do not need to deal with that class.
Location
- Reference: RemObjects.DataAbstract.Server.dll
- Namespace: RemObjects.DataAbstract.Server
- Ancestry: Exception | ServerException | DAException | DAConfigurationException
constructor (declared in ServerException)
constructor
DAConfigurationException()
Sub New()
constructor (SerializationInfo, StreamingContext)
Creates a new instance with serialized data.
constructor(info: SerializationInfo; context: StreamingContext)
DAConfigurationException(SerializationInfo info, StreamingContext context)
Sub New(info As SerializationInfo, context As StreamingContext)
Parameters:
- info: Serialized data about the exception being thrown
- context: The System.Runtime.Serialization.StreamingContext instance that contains conceptial information about the source or destination
constructor (String)
Creates a new instance with the given exception message.
constructor(message: String)
DAConfigurationException(String message)
Sub New(message As String)
Parameters:
- message: Exception message
constructor (String, Boolean)
Creates a new instance 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)
DAConfigurationException(String message, Boolean fromServer)
Sub New(message As String, fromServer As Boolean)
Parameters:
- message: Exception message
- fromServer: Flag indicating whether exception was initially raised on the remote server
constructor (String, Exception)
Creates a new instance with inner exception
constructor(message: String; innerException: Exception)
DAConfigurationException(String message, Exception innerException)
Sub New(message As String, innerException As Exception)
Parameters:
- message: Exception message.
- innerException: Inner exception
constructor (String, array of Object)
Created a new instance of DAConfigurationException class with given formatted error message.
constructor(message: String; parameters: array of Object)
DAConfigurationException(String message, Object[] parameters)
Sub New(message As String, parameters As Object())
Parameters:
- message:
- parameters:
constructor (String, array of Object) (declared in DAException)
Creates a new instance with the given exception message and parameters.
constructor(message: String; params parameters: array of Object)
DAConfigurationException(String message, params Object[] parameters)
Sub New(message As String, ParamArray parameters As Object())
Parameters:
- message: Exception message. Can contain placeholders that will be filled using the vaues of the parameters argument. This argument accepts the same format string as the String.Format method
- parameters: Values(s) of this argument will be substituted to the placeholders contained in the message format 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
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:
OriginalExceptionClassName (declared in ServerException)
property OriginalExceptionClassName: String read write;
String OriginalExceptionClassName { get; set; }
Property OriginalExceptionClassName() As String
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
OriginalExceptionClassName (declared in ServerException)
property OriginalExceptionClassName: String read write;
String OriginalExceptionClassName { get; set; }
Property OriginalExceptionClassName() As String
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
DAConfigurationException()
Sub New()
constructor (SerializationInfo, StreamingContext)
Creates a new instance with serialized data.
constructor(info: SerializationInfo; context: StreamingContext)
DAConfigurationException(SerializationInfo info, StreamingContext context)
Sub New(info As SerializationInfo, context As StreamingContext)
Parameters:
- info: Serialized data about the exception being thrown
- context: The System.Runtime.Serialization.StreamingContext instance that contains conceptial information about the source or destination
constructor (String)
Creates a new instance with the given exception message.
constructor(message: String)
DAConfigurationException(String message)
Sub New(message As String)
Parameters:
- message: Exception message
constructor (String, Boolean)
Creates a new instance 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)
DAConfigurationException(String message, Boolean fromServer)
Sub New(message As String, fromServer As Boolean)
Parameters:
- message: Exception message
- fromServer: Flag indicating whether exception was initially raised on the remote server
constructor (String, Exception)
Creates a new instance with inner exception
constructor(message: String; innerException: Exception)
DAConfigurationException(String message, Exception innerException)
Sub New(message As String, innerException As Exception)
Parameters:
- message: Exception message.
- innerException: Inner exception
constructor (String, array of Object)
Created a new instance of DAConfigurationException class with given formatted error message.
constructor(message: String; parameters: array of Object)
DAConfigurationException(String message, Object[] parameters)
Sub New(message As String, parameters As Object())
Parameters:
- message:
- parameters:
constructor (String, array of Object) (declared in DAException)
Creates a new instance with the given exception message and parameters.
constructor(message: String; params parameters: array of Object)
DAConfigurationException(String message, params Object[] parameters)
Sub New(message As String, ParamArray parameters As Object())
Parameters:
- message: Exception message. Can contain placeholders that will be filled using the vaues of the parameters argument. This argument accepts the same format string as the String.Format method
- parameters: Values(s) of this argument will be substituted to the placeholders contained in the message format string
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