---
title: "Class StateNotFoundException | Customer's Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Exceptions.StateService/StateNotFoundException/"
---

# Class StateNotFoundException

> **Inheritance:** `System.Object` -> `System.Exception` -> [Aurigma.DesignAtoms.Exceptions.StateService.StateServiceException](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Exceptions.StateService/StateServiceException.md) -> StateNotFoundException

###### **Namespace**: [Aurigma.DesignAtoms.Exceptions.StateService](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Exceptions.StateService.md)

###### **Assembly**: Aurigma.DesignAtoms.dll

```csharp title="Syntax"
public class StateNotFoundException : StateServiceException, ISerializable, _Exception
```

## Implements

* `System.Runtime.Serialization.ISerializable`
* `System.Runtime.InteropServices._Exception`

## Inherited Members

* [Aurigma.DesignAtoms.Exceptions.StateService.StateServiceException.UserId](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Exceptions.StateService/StateServiceException.md#userid)
* [Aurigma.DesignAtoms.Exceptions.StateService.StateServiceException.StateId](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Exceptions.StateService/StateServiceException.md#stateid)
* `System.Exception.GetBaseException`
* `System.Exception.ToString`
* `System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)`
* `System.Exception.GetType`
* `System.Exception.Message`
* `System.Exception.Data`
* `System.Exception.InnerException`
* `System.Exception.TargetSite`
* `System.Exception.StackTrace`
* `System.Exception.HelpLink`
* `System.Exception.Source`
* `System.Exception.HResult`
* `System.Exception.SerializeObjectState`
* `System.Object.Equals(System.Object)`
* `System.Object.Equals(System.Object,System.Object)`
* `System.Object.ReferenceEquals(System.Object,System.Object)`
* `System.Object.GetHashCode`
* `System.Object.MemberwiseClone`

## Constructors

### StateNotFoundException

```csharp
public StateNotFoundException(string message, Exception innerException, string stateId, string userId)
```

### StateNotFoundException

```csharp
public StateNotFoundException(string message, string stateId, string userId)
```
