# Class TransitionNotFoundException OptimaJet.Workflow.Core.Fault.TransitionNotFoundException Represents an exception thrown when a transition cannot be found in a workflow scheme. Namespace: [OptimaJet.Workflow.Core.Fault](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Fault/) ```csharp public class TransitionNotFoundException : Exception, ISerializable ``` ## Type Hierarchy - [Exception](https://learn.microsoft.com/dotnet/api/system.exception) - TransitionNotFoundException Current type - Implemented interfaces - [ISerializable](https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable) ## Constructors `public TransitionNotFoundException(string transitionName, string schemeCode)` Initializes a new instance of the [TransitionNotFoundException](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Fault/TransitionNotFoundException/) class. ### Parameters | Name | Type | Description | | --- | --- | --- | | `transitionName` | `String` | The name of the transition that could not be found. | | `schemeCode` | `String` | The code of the scheme that was searched. | ### Remarks This constructor initializes the exception message using: `Transition with name '{transitionName}' not found in '{schemeCode}' scheme.` [Previous TransitionConditionNotFoundException](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Fault/TransitionConditionNotFoundException/) [Next TransitionRestrictionAlreadyExistsException](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Fault/TransitionRestrictionAlreadyExistsException/)