Skip to content

GeneralDatabaseException

Namespace: SlottyMedia.Database.Exceptions

This exception is thrown when a general database exception occurs.

public class GeneralDatabaseException : SlottyMedia.LoggingProvider.BaseException`1[[SlottyMedia.Database.Exceptions.GeneralDatabaseException, SlottyMedia.Database, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Runtime.Serialization.ISerializable

Inheritance ObjectException → BaseException<GeneralDatabaseException> → GeneralDatabaseException
Implements ISerializable

Properties

TargetSite

public MethodBase TargetSite { get; }

Property Value

MethodBase

Message

public string Message { get; }

Property Value

String

Data

public IDictionary Data { get; }

Property Value

IDictionary

InnerException

public Exception InnerException { get; }

Property Value

Exception

public string HelpLink { get; set; }

Property Value

String

Source

public string Source { get; set; }

Property Value

String

HResult

public int HResult { get; set; }

Property Value

Int32

StackTrace

public string StackTrace { get; }

Property Value

String

Constructors

GeneralDatabaseException()

This exception is thrown when a general database exception occurs.

public GeneralDatabaseException()

GeneralDatabaseException(String)

The constructor with parameters.

public GeneralDatabaseException(string message)

Parameters

message String

GeneralDatabaseException(String, String)

The constructor with parameters.

public GeneralDatabaseException(string propertyName, string message)

Parameters

propertyName String

message String

GeneralDatabaseException(String, Exception)

The constructor with parameters.

public GeneralDatabaseException(string message, Exception innerException)

Parameters

message String

innerException Exception