Table of Contents

Class ResQueServeException

Namespace
XENBIT.ResQueServe.Abstractions.Exceptions
Assembly
RQS.Abstractions.dll

Represents a base exception type for dispatcher-related exceptions.

public abstract class ResQueServeException : Exception, ISerializable
Inheritance
ResQueServeException
Implements
Derived
Inherited Members

Constructors

ResQueServeException(string, Exception?, params ProblemInformation[])

Initializes a new instance of the ResQueServeException class with a specified error message, inner exception, and problems.

protected ResQueServeException(string message, Exception? exception, params ProblemInformation[] problems)

Parameters

message string

The error message describing the exception.

exception Exception

The inner exception that caused this exception.

problems ProblemInformation[]

An array of ProblemInformation providing additional details about the exception.

ResQueServeException(string, params ProblemInformation[])

Initializes a new instance of the ResQueServeException class with a specified error message and problems.

protected ResQueServeException(string message, params ProblemInformation[] problems)

Parameters

message string

The error message describing the exception.

problems ProblemInformation[]

An array of ProblemInformation providing additional details about the exception.

Properties

Problems

Gets the problems associated with this exception.

public ProblemInformation[] Problems { get; }

Property Value

ProblemInformation[]

Methods

HandleDispatcherExceptionOnFrontend(dynamic, string?)

Handles the dispatcher exception on the frontend by modifying the provided view bag.

public abstract void HandleDispatcherExceptionOnFrontend(dynamic viewBag, string? prefix = null)

Parameters

viewBag dynamic

The dynamic view bag used to display error notifications.

prefix string

An optional prefix for error messages.