Workflow Engine .NET

Assembly: OptimaJet.Workflow.Core

Class SchemeNotFoundException

OptimaJet.Workflow.Core.Fault.SchemeNotFoundException

Represents a missing workflow scheme for a specific lookup location.

public class SchemeNotFoundException : Exception, ISerializable

Inheritance

  • Object
  • Exception

Implemented Interfaces

  • System.Runtime.Serialization.ISerializable

Methods

public static SchemeNotFoundException Create(string code, SchemeLocation location) #
Creates an exception for a missing scheme by code.

Parameters

Name
Type
Description
code
String
The code of the requested scheme.
location
SchemeLocation
The location where the scheme lookup was performed.

Returns

Type
Description
SchemeNotFoundException
A new SchemeNotFoundException instance.
public static SchemeNotFoundException Create(Guid id, SchemeLocation location) #
Creates an exception for a missing scheme by identifier.

Parameters

Name
Type
Description
id
Guid
The identifier used for scheme lookup. For SchemeLocation.WorkflowProcessInstance, this value is the process instance identifier.
location
SchemeLocation
The location where the scheme lookup was performed.

Returns

Type
Description
SchemeNotFoundException
A new SchemeNotFoundException instance.