# Class TransitionRestrictionAlreadyExistsException OptimaJet.Workflow.Core.Fault.TransitionRestrictionAlreadyExistsException Represents an exception that is thrown when a transition restriction for a specific actor already exists in a workflow scheme. Namespace: [OptimaJet.Workflow.Core.Fault](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Fault/) ```csharp public class TransitionRestrictionAlreadyExistsException : Exception, ISerializable ``` ## Type Hierarchy - [Exception](https://learn.microsoft.com/dotnet/api/system.exception) - TransitionRestrictionAlreadyExistsException Current type - Implemented interfaces - [ISerializable](https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable) ## Constructors `public TransitionRestrictionAlreadyExistsException(string transitionName, string actorName, string schemeCode)` Initializes a new instance of the [TransitionRestrictionAlreadyExistsException](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Fault/TransitionRestrictionAlreadyExistsException/) class with details about the transition restriction that already exists. ### Parameters | Name | Type | Description | | --- | --- | --- | | `transitionName` | `String` | The name of the transition that already has a restriction for the actor. | | `actorName` | `String` | The actor name that already has a restriction on the transition. | | `schemeCode` | `String` | The code of the workflow scheme that already contains the restriction. | [Previous TransitionNotFoundException](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Fault/TransitionNotFoundException/) [Next TransitionRestrictionNotFoundException](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Fault/TransitionRestrictionNotFoundException/)