# Class CommandParameterAlreadyExistsException OptimaJet.Workflow.Core.Fault.CommandParameterAlreadyExistsException Represents an exception thrown when a command parameter with the same name already exists. Namespace: [OptimaJet.Workflow.Core.Fault](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Fault/) ```csharp public class CommandParameterAlreadyExistsException : Exception, ISerializable ``` ## Type Hierarchy - [Exception](https://learn.microsoft.com/dotnet/api/system.exception) - CommandParameterAlreadyExistsException Current type - Implemented interfaces - [ISerializable](https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable) ## Constructors `public CommandParameterAlreadyExistsException(string commandName, string parameterName, string schemeCode)` Initializes a new instance of the [CommandParameterAlreadyExistsException](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Fault/CommandParameterAlreadyExistsException/) class for the specified command and parameter names in the given scheme. ### Parameters | Name | Type | Description | | --- | --- | --- | | `commandName` | `String` | The command where the parameter already exists. | | `parameterName` | `String` | The duplicate parameter name. | | `schemeCode` | `String` | The workflow scheme code containing the duplicated parameter. | [Previous CommandNotValidForStateException](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Fault/CommandNotValidForStateException/) [Next CommandParameterNotFoundException](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Fault/CommandParameterNotFoundException/)