Class PersistenceProviderQueryExceptionExtensions
OptimaJet.Workflow.Core.Fault.PersistenceProviderQueryExceptionExtensions
Provides helper extension methods for PersistenceProviderQueryException instances.
Namespace: OptimaJet.Workflow.Core.Fault
public static class PersistenceProviderQueryExceptionExtensionsInheritance
- 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
exceptionExceptionThe exception to inspect and potentially transform.
Returns
Type
Description
ExceptionThe original
exception if it does not contain a nested PersistenceProviderQueryException; otherwise a new PersistenceProviderQueryException created from the found exception's inner exception.