Workflow Engine .NET

Assembly: OptimaJet.Workflow.Core

Class ActivityNotFoundException

OptimaJet.Workflow.Core.Fault.ActivityNotFoundException

Represents an exception thrown when an activity-related item cannot be found in a workflow scheme.

public class ActivityNotFoundException : Exception, ISerializable

Inheritance

  • Object
  • Exception

Implemented Interfaces

  • System.Runtime.Serialization.ISerializable

Constructors

public ActivityNotFoundException(string message) #
Initializes a new instance of the ActivityNotFoundException class with a custom error message.

Parameters

Name
Type
Description
message
String
The message that explains why the exception was thrown.
public ActivityNotFoundException(string activityName, string schemeCode) #
Initializes a new instance of the ActivityNotFoundException class for a missing activity name in a specific workflow scheme.

Parameters

Name
Type
Description
activityName
String
The name of the activity that was not found.
schemeCode
String
The workflow scheme code that was searched.
public ActivityNotFoundException(string stateName, bool? isForSetState, string schemeCode) #
Initializes a new instance of the ActivityNotFoundException class for a missing activity state in a specific workflow scheme.

Parameters

Name
Type
Description
stateName
String
The name of the state that was not found.
isForSetState
Nullable<Boolean>
Optional value included in the generated message when present.
schemeCode
String
The workflow scheme code that was searched.