Class ActivityNotFoundException
OptimaJet.Workflow.Core.Fault.ActivityNotFoundException
Represents an exception thrown when an activity-related item cannot be found in a workflow scheme.
Namespace: OptimaJet.Workflow.Core.Fault
public class ActivityNotFoundException : Exception, ISerializableInheritance
- 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
messageStringThe 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
activityNameStringThe name of the activity that was not found.
schemeCodeStringThe 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
stateNameStringThe name of the state that was not found.
isForSetStateNullable<Boolean>Optional value included in the generated message when present.
schemeCodeStringThe workflow scheme code that was searched.