# Class StatusNotDefinedException OptimaJet.Workflow.Core.Fault.StatusNotDefinedException Represents an exception that is thrown when a workflow status referenced by the runtime is not defined. Namespace: [OptimaJet.Workflow.Core.Fault](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Fault/) ```csharp public class StatusNotDefinedException : Exception, ISerializable ``` ## Type Hierarchy - [Exception](https://learn.microsoft.com/dotnet/api/system.exception) - StatusNotDefinedException Current type - Implemented interfaces - [ISerializable](https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable) ## Remarks Use this exception when a status value cannot be matched to a known status definition. [Previous ShutdownException](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Fault/ShutdownException/) [Next TimerAlreadyExistsException](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Fault/TimerAlreadyExistsException/)