Table of Contents

Class IncompleteRequestException

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

Represents an exception thrown when a request is incomplete due to missing required data.

public class IncompleteRequestException : ResQueServeException, ISerializable
Inheritance
IncompleteRequestException
Implements
Inherited Members

Constructors

IncompleteRequestException(string, Exception, ProblemInformation)

Initializes a new instance of the IncompleteRequestException class with the missing property, inner exception, and problem information.

public IncompleteRequestException(string missingProperty, Exception innerException, ProblemInformation problemInformation)

Parameters

missingProperty string

The name of the missing property in the request.

innerException Exception

The inner exception that caused this exception.

problemInformation ProblemInformation

Details about the problem that caused the exception.

IncompleteRequestException(string, ProblemInformation)

Initializes a new instance of the IncompleteRequestException class with the missing property and problem information.

public IncompleteRequestException(string missingProperty, ProblemInformation problemInformation)

Parameters

missingProperty string

The name of the missing property in the request.

problemInformation ProblemInformation

Details about the problem that caused the exception.

Properties

MissingProperty

Gets the name of the missing property in the request.

public string MissingProperty { get; }

Property Value

string

Methods

HandleDispatcherExceptionOnFrontend(dynamic, string?)

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

public override 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.