# Class CodeActionAlreadyExistsException OptimaJet.Workflow.Core.Fault.CodeActionAlreadyExistsException Represents an exception raised when a workflow scheme already contains a code action with the same name and type. Namespace: [OptimaJet.Workflow.Core.Fault](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Fault/) ```csharp public class CodeActionAlreadyExistsException : Exception, ISerializable ``` ## Type Hierarchy - [Exception](https://learn.microsoft.com/dotnet/api/system.exception) - CodeActionAlreadyExistsException Current type - Implemented interfaces - [ISerializable](https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable) ## Constructors `public CodeActionAlreadyExistsException(string codeActionName, CodeActionType type, string schemeCode)` Initializes a new instance of the [CodeActionAlreadyExistsException](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Fault/CodeActionAlreadyExistsException/) class. ### Parameters | Name | Type | Description | | --- | --- | --- | | `codeActionName` | `String` | The name of the duplicated code action. | | `type` | `CodeActionType` | The [CodeActionType](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Model/CodeActionType/) of the duplicated code action. | | `schemeCode` | `String` | The code of the workflow scheme where the duplicate was found. | [Previous ArgumentExceptionMessages](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Fault/ArgumentExceptionMessages/) [Next ColumnNotExistsException](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Fault/ColumnNotExistsException/)