Skip to content

CommentGeneralException

Namespace: SlottyMedia.Backend.Exceptions.Services.CommentExceptions

Represents a general exception that occurs in the Forum service.

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

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

CommentGeneralException(String)

Initializes a new instance of the ForumGeneralException class with a specified error message.

public CommentGeneralException(string message)

Parameters

message String
The message that describes the error.

CommentGeneralException(String, Exception)

Initializes a new instance of the ForumGeneralException class with a specified error message and a reference to the inner exception that is the cause of this exception.

public CommentGeneralException(string message, Exception innerException)

Parameters

message String
The message that describes the error.

innerException Exception
The exception that is the cause of the current exception.