PostGeneralException
Namespace: SlottyMedia.Backend.Exceptions.Services.PostExceptions
Represents a general exception that occurs in the Post service.
public class PostGeneralException : SlottyMedia.LoggingProvider.BaseException`1[[SlottyMedia.Backend.Exceptions.Services.PostExceptions.PostGeneralException, SlottyMedia, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Runtime.Serialization.ISerializable
Inheritance Object → Exception → BaseException<PostGeneralException> → PostGeneralException
Implements ISerializable
Properties
TargetSite
public MethodBase TargetSite { get; }
Property Value
Message
public string Message { get; }
Property Value
Data
public IDictionary Data { get; }
Property Value
InnerException
public Exception InnerException { get; }
Property Value
HelpLink
public string HelpLink { get; set; }
Property Value
Source
public string Source { get; set; }
Property Value
HResult
public int HResult { get; set; }
Property Value
StackTrace
public string StackTrace { get; }
Property Value
Constructors
PostGeneralException(String)
Initializes a new instance of the PostGeneralException class with a specified error message.
public PostGeneralException(string message)
Parameters
message String
The message that describes the error.
PostGeneralException(String, Exception)
Initializes a new instance of the PostGeneralException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public PostGeneralException(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.