Workflow Engine .NET

Assembly: OptimaJet.Workflow.Core

Class PersistenceProviderQueryExceptionExtensions

OptimaJet.Workflow.Core.Fault.PersistenceProviderQueryExceptionExtensions

Provides helper extension methods for PersistenceProviderQueryException instances.

public static class PersistenceProviderQueryExceptionExtensions

Inheritance

  • Object

Methods

public static Exception RethrowAllowedIfRetrievable(this Exception exception) #
Returns either the original exception or a rewritten PersistenceProviderQueryException based on the first nested PersistenceProviderQueryException found in the inner exception chain.

Parameters

Name
Type
Description
exception
Exception
The exception to inspect and potentially transform.

Returns

Type
Description
Exception
The original exception if it does not contain a nested PersistenceProviderQueryException; otherwise a new PersistenceProviderQueryException created from the found exception's inner exception.