Class WrongActivityTypeException
OptimaJet.Workflow.Core.Fault.WrongActivityTypeException
Represents an error raised when an activity has a different type than the one expected by an operation.
Namespace: OptimaJet.Workflow.Core.Fault
public class WrongActivityTypeException : Exception, ISerializableInheritance
- Object
- Exception
Implemented Interfaces
- System.Runtime.Serialization.ISerializable
Constructors
public WrongActivityTypeException(string activityName, string schemeCode, ActivityType expectedType) #Initializes a new instance of the WrongActivityTypeException class with a detailed message.
Parameters
Name
Type
Description
activityNameStringThe name of the activity that has a different type.
schemeCodeStringThe code of the scheme where the activity is defined.
expectedTypeActivityTypeThe expected activity type for the current operation.