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 of the DAConfigurationException class from serialized data. Note that Silverlight & Compact Framework editions does not have that constructor.
constructor(info: SerializationInfo; context: StreamingContext)
DAConfigurationException(SerializationInfo info, StreamingContext context)
Sub New(info As SerializationInfo, context As StreamingContext)
Parameters:
- info:
- context:
constructor (String)
Created a new instance of DAConfigurationException class with a given error message.
constructor(message: String)
DAConfigurationException(String message)
Sub New(message As String)
Parameters:
- message:
constructor (String, Boolean)
Creates a new instance of DAConfigurationException with given error message and aFromServer
flag indicates whether exception occured on the server side.
constructor(message: String; fromServer: Boolean)
DAConfigurationException(String message, Boolean fromServer)
Sub New(message As String, fromServer As Boolean)
Parameters:
- message:
- fromServer:
constructor (String, Exception)
constructor(message: String; innerException: Exception)
DAConfigurationException(String message, Exception innerException)
Sub New(message As String, innerException As Exception)
Parameters:
- message:
- innerException:
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 of the DAException class 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:
- 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
DAConfigurationException()
Sub New()
constructor (SerializationInfo, StreamingContext)
Creates a new instance of the DAConfigurationException class from serialized data. Note that Silverlight & Compact Framework editions does not have that constructor.
constructor(info: SerializationInfo; context: StreamingContext)
DAConfigurationException(SerializationInfo info, StreamingContext context)
Sub New(info As SerializationInfo, context As StreamingContext)
Parameters:
- info:
- context:
constructor (String)
Created a new instance of DAConfigurationException class with a given error message.
constructor(message: String)
DAConfigurationException(String message)
Sub New(message As String)
Parameters:
- message:
constructor (String, Boolean)
Creates a new instance of DAConfigurationException with given error message and aFromServer
flag indicates whether exception occured on the server side.
constructor(message: String; fromServer: Boolean)
DAConfigurationException(String message, Boolean fromServer)
Sub New(message As String, fromServer As Boolean)
Parameters:
- message:
- fromServer:
constructor (String, Exception)
constructor(message: String; innerException: Exception)
DAConfigurationException(String message, Exception innerException)
Sub New(message As String, innerException As Exception)
Parameters:
- message:
- innerException:
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 of the DAException class 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:
- 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