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
messagestringThe error message describing the exception.
exceptionExceptionThe inner exception that caused this exception.
problemsProblemInformation[]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
messagestringThe error message describing the exception.
problemsProblemInformation[]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
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
viewBagdynamicThe dynamic view bag used to display error notifications.
prefixstringAn optional prefix for error messages.