---
title: "Class ItemNotFoundSitecoreLayoutServiceClientException"
slug: "sitecore.layoutservice.client.exceptions.itemnotfoundsitecorelayoutserviceclientexception"
abstract: ""
---
# Class ItemNotFoundSitecoreLayoutServiceClientException

Details an exception that may occur when the Sitecore layout service returns a 'not found' (404) response.

## Inheritance

System.Object

[SitecoreLayoutServiceClientException](https://doc.sitecore.com/xp/en/developers/hd/21/sitecore-asp-dot-net-rendering-sdk/sitecore.layoutservice.client.exceptions.sitecorelayoutserviceclientexception.html)

ItemNotFoundSitecoreLayoutServiceClientException

### **Namespace**: Sitecore.LayoutService.Client.Exceptions

#### **Assembly**: Sitecore.LayoutService.Client.Abstractions.dll

##### Syntax

```csharp
public class ItemNotFoundSitecoreLayoutServiceClientException : SitecoreLayoutServiceClientException

```

### Constructors

#### ItemNotFoundSitecoreLayoutServiceClientException()

Initializes a new instance of the [ItemNotFoundSitecoreLayoutServiceClientException](https://doc.sitecore.com/xp/en/developers/hd/21/sitecore-asp-dot-net-rendering-sdk/sitecore.layoutservice.client.exceptions.itemnotfoundsitecorelayoutserviceclientexception.html) class.

##### Declaration

```csharp
public ItemNotFoundSitecoreLayoutServiceClientException()

```

#### ItemNotFoundSitecoreLayoutServiceClientException(Exception)

Initializes a new instance of the [ItemNotFoundSitecoreLayoutServiceClientException](https://doc.sitecore.com/xp/en/developers/hd/21/sitecore-asp-dot-net-rendering-sdk/sitecore.layoutservice.client.exceptions.itemnotfoundsitecorelayoutserviceclientexception.html) class.

##### Declaration

```csharp
public ItemNotFoundSitecoreLayoutServiceClientException(Exception innerException)

```

##### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.Exception | innerException | The inner exception to be wrapped. |

#### ItemNotFoundSitecoreLayoutServiceClientException(String)

Initializes a new instance of the [ItemNotFoundSitecoreLayoutServiceClientException](https://doc.sitecore.com/xp/en/developers/hd/21/sitecore-asp-dot-net-rendering-sdk/sitecore.layoutservice.client.exceptions.itemnotfoundsitecorelayoutserviceclientexception.html) class.

##### Declaration

```csharp
public ItemNotFoundSitecoreLayoutServiceClientException(string message)

```

##### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | message | The exception message. |

#### ItemNotFoundSitecoreLayoutServiceClientException(String, Exception)

Initializes a new instance of the [ItemNotFoundSitecoreLayoutServiceClientException](https://doc.sitecore.com/xp/en/developers/hd/21/sitecore-asp-dot-net-rendering-sdk/sitecore.layoutservice.client.exceptions.itemnotfoundsitecorelayoutserviceclientexception.html) class.

##### Declaration

```csharp
public ItemNotFoundSitecoreLayoutServiceClientException(string message, Exception innerException)

```

##### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | message | The exception message. |
| System.Exception | innerException | The inner exception to be wrapped. |
