# Class ImpossibleToSetRuntimeStatusException OptimaJet.Workflow.Core.Fault.ImpossibleToSetRuntimeStatusException Represents an exception that indicates runtime status cannot be set to the requested state. Namespace: [OptimaJet.Workflow.Core.Fault](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Fault/) ```csharp public class ImpossibleToSetRuntimeStatusException : Exception, ISerializable ``` ## Type Hierarchy - [Exception](https://learn.microsoft.com/dotnet/api/system.exception) - ImpossibleToSetRuntimeStatusException Current type - Implemented interfaces - [ISerializable](https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable) ## Constructors `public ImpossibleToSetRuntimeStatusException()` Initializes a new instance of the [ImpossibleToSetRuntimeStatusException](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Fault/ImpossibleToSetRuntimeStatusException/) class. `public ImpossibleToSetRuntimeStatusException(string message, Exception innerException)` Initializes a new instance of the [ImpossibleToSetRuntimeStatusException](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Fault/ImpossibleToSetRuntimeStatusException/) class with a specified error message and a reference to the inner exception that caused it. ### Parameters | Name | Type | Description | | --- | --- | --- | | `message` | `String` | The message that explains why runtime status could not be set. | | `innerException` | `Exception` | The exception that caused this exception. | `public ImpossibleToSetRuntimeStatusException(string message)` Initializes a new instance of the [ImpossibleToSetRuntimeStatusException](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Fault/ImpossibleToSetRuntimeStatusException/) class with a specified error message. ### Parameters | Name | Type | Description | | --- | --- | --- | | `message` | `String` | The message that explains why runtime status could not be set. | [Previous ConfigurationException](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Fault/ConfigurationException/) [Next ImpossibleToSetStatusException](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Fault/ImpossibleToSetStatusException/)