# Class TransitionRestrictionNotFoundException OptimaJet.Workflow.Core.Fault.TransitionRestrictionNotFoundException Represents an exception that is thrown when a transition restriction cannot be found for a given actor in a workflow scheme. Namespace: [OptimaJet.Workflow.Core.Fault](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Fault/) ```csharp public class TransitionRestrictionNotFoundException : Exception, ISerializable ``` ## Type Hierarchy - [Exception](https://learn.microsoft.com/dotnet/api/system.exception) - TransitionRestrictionNotFoundException Current type - Implemented interfaces - [ISerializable](https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable) ## Constructors `public TransitionRestrictionNotFoundException(string transitionName, string actorName, string schemeCode)` Initializes a new instance of the [TransitionRestrictionNotFoundException](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Fault/TransitionRestrictionNotFoundException/) class. ### Parameters | Name | Type | Description | | --- | --- | --- | | `transitionName` | `String` | The name of the transition that does not define the requested restriction. | | `actorName` | `String` | The actor name used when resolving the missing restriction. | | `schemeCode` | `String` | The workflow scheme code where the restriction was expected. | ### Remarks This constructor uses the following message text: `Restriction for transition '{transitionName}' for actor '{actorName}' not found in scheme '{schemeCode}'` [Previous TransitionRestrictionAlreadyExistsException](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Fault/TransitionRestrictionAlreadyExistsException/) [Next TypeParsingException](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Fault/TypeParsingException/)