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
missingPropertystringThe name of the missing property in the request.
innerExceptionExceptionThe inner exception that caused this exception.
problemInformationProblemInformationDetails 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
missingPropertystringThe name of the missing property in the request.
problemInformationProblemInformationDetails 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
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
viewBagdynamicThe dynamic view bag used to display error notifications.
prefixstringAn optional prefix for error messages.