Class DataAbstractionException
Thrown by data abstraction layer classes on generic errors
Inherited Members
Namespace: EPiServer.DataAbstraction
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public class DataAbstractionException : EPiServerException
Constructors
DataAbstractionException()
Initializes a new instance of the DataAbstractionException class.
Declaration
public DataAbstractionException()
DataAbstractionException(SerializationInfo, StreamingContext)
Initializes a new instance of the DataAbstractionException class with serialized data.
Declaration
protected DataAbstractionException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The object that holds the serialized object data. |
System.Runtime.Serialization.StreamingContext | context | The contextual information about the source or destination. |
DataAbstractionException(String)
Initializes a new instance of the DataAbstractionException class.
Declaration
public DataAbstractionException(string error)
Parameters
Type | Name | Description |
---|---|---|
System.String | error | Description of the error. |
DataAbstractionException(String, Exception)
Initializes the new instance of DataAbstractionException
Declaration
public DataAbstractionException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message that explains the reason for the exception. |
System.Exception | innerException | The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. |
Properties
Parameters
Get exception parameters
Declaration
public object Parameters { get; set; }
Property Value
Type | Description |
---|---|
System.Object |