Table of Contents

Class DeadLetterException

Namespace
Excalibur.Dispatch.Transport
Assembly
Excalibur.Dispatch.Transport.Abstractions.dll

Exception that wraps dead letter error information.

public sealed class DeadLetterException : Exception, ISerializable
Inheritance
DeadLetterException
Implements
Inherited Members
Extension Methods

Remarks

Initializes a new instance of the DeadLetterException class.

Constructors

DeadLetterException()

Initializes a new instance of the Exception class.

public DeadLetterException()

DeadLetterException(string?)

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

public DeadLetterException(string? message)

Parameters

message string

The message that describes the error.

DeadLetterException(string?, Exception?)

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

public DeadLetterException(string? message, Exception? innerException)

Parameters

message string

The error message that explains the reason for the exception.

innerException Exception

The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.

DeadLetterException(string, string, string?)

Exception that wraps dead letter error information.

public DeadLetterException(string message, string exceptionType, string? stackTrace)

Parameters

message string
exceptionType string
stackTrace string

Remarks

Initializes a new instance of the DeadLetterException class.

Properties

ExceptionType

Gets the original exception type name.

public string ExceptionType { get; }

Property Value

string

The current ExceptionType value.

OriginalStackTrace

Gets the original stack trace.

public string? OriginalStackTrace { get; }

Property Value

string

The current OriginalStackTrace value.

StackTrace

Gets a string representation of the immediate frames on the call stack.

public override string? StackTrace { get; }

Property Value

string

A string that describes the immediate frames of the call stack. If no stack trace is available (such as prior to stack unwinding from a throw statement), the value is null.