Class SchemeNotFoundException
OptimaJet.Workflow.Core.Fault.SchemeNotFoundException
Represents a missing workflow scheme for a specific lookup location.
Namespace: OptimaJet.Workflow.Core.Fault
public class SchemeNotFoundException : Exception, ISerializableInheritance
- 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
codeStringThe code of the requested scheme.
locationSchemeLocationThe location where the scheme lookup was performed.
Returns
Type
Description
SchemeNotFoundExceptionA new SchemeNotFoundException instance.
public static SchemeNotFoundException Create(Guid id, SchemeLocation location) #Creates an exception for a missing scheme by identifier.
Parameters
Name
Type
Description
idGuidThe identifier used for scheme lookup. For SchemeLocation.WorkflowProcessInstance, this value is the process instance identifier.
locationSchemeLocationThe location where the scheme lookup was performed.
Returns
Type
Description
SchemeNotFoundExceptionA new SchemeNotFoundException instance.