Skip to content

DatabaseMissingItemException

Namespace: SlottyMedia.Database.Exceptions

/// This exception is thrown when an item is missing from the database.

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

Inheritance ObjectException → BaseException<DatabaseMissingItemException> → DatabaseMissingItemException
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

DatabaseMissingItemException()

The default constructor.

public DatabaseMissingItemException()

DatabaseMissingItemException(String)

The constructor with parameters.

public DatabaseMissingItemException(string message)

Parameters

message String

DatabaseMissingItemException(String, String)

The constructor with parameters.

public DatabaseMissingItemException(string propertyName, string message)

Parameters

propertyName String

message String

DatabaseMissingItemException(String, Exception)

THe constructor with parameters.

public DatabaseMissingItemException(string message, Exception innerException)

Parameters

message String

innerException Exception