Skip to content

UserGeneralException

Namespace: SlottyMedia.Backend.Exceptions.Services.UserExceptions

This exception is thrown when a general exception occurs. For example when interacting with the database there is the option, that Exceptions which aren't predictable can occur. In this case, this exception is thrown.

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

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

UserGeneralException(String)

This constructor creates a new UserGeneralException object.

public UserGeneralException(string message)

Parameters

message String

UserGeneralException(String, Exception)

This constructor creates a new UserGeneralException object.

public UserGeneralException(string message, Exception innerException)

Parameters

message String

innerException Exception