Assembly: OptimaJet.Workflow.Core

Class PersistenceProviderQueryException

OptimaJet.Workflow.Core.Fault.PersistenceProviderQueryException

Represents an exception raised for persistence-provider query failures and carries flags that describe whether such failures can be retried or recovered.

public class PersistenceProviderQueryException : Exception, ISerializable

Type Hierarchy

Constructors

public PersistenceProviderQueryException(bool isRetryAllowed, bool isRetrievableError, Exception exception) #
Initializes a new instance of the PersistenceProviderQueryException class.

Parameters

Name
Type
Description
isRetryAllowed
Boolean
A value that indicates whether a retry is allowed.
isRetrievableError
Boolean
A value that indicates whether the error is retrievable.
exception
Exception
The exception that is wrapped as the inner exception.

Properties

public bool IsRetryAllowed { get; } #
Gets a value indicating whether retry logic should treat this failure as retryable.
public bool IsRetrievableError { get; } #
Gets a value indicating whether the error is considered retrievable.