Class CommandNotFoundException
OptimaJet.Workflow.Core.Fault.CommandNotFoundException
Represents an exception thrown when a command cannot be found in a workflow scheme.
Namespace: OptimaJet.Workflow.Core.Fault
public class CommandNotFoundException : Exception, ISerializableInheritance
- Object
- Exception
Implemented Interfaces
- System.Runtime.Serialization.ISerializable
Constructors
public CommandNotFoundException(string message) #Initializes a new instance of the CommandNotFoundException class with a custom error message.
Parameters
Name
Type
Description
messageStringThe message that explains why the exception was thrown.
public CommandNotFoundException(string commandName, string schemeCode) #Initializes a new instance of the CommandNotFoundException class for a missing command name in a specific workflow scheme.
Parameters
Name
Type
Description
commandNameStringThe name of the command that was not found.
schemeCodeStringThe workflow scheme code that was searched.