---
title: "Class FieldReaderException"
slug: "sitecore.layoutservice.client.exceptions.fieldreaderexception"
abstract: ""
---
# Class FieldReaderException

Details an exception that may occur when reading a Field.

## Inheritance

System.Object

FieldReaderException

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

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

##### Syntax

```csharp
public class FieldReaderException : Exception

```

### Constructors

#### FieldReaderException(String)

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

##### Declaration

```csharp
public FieldReaderException(string message)

```

##### Parameters

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

#### FieldReaderException(String, Exception)

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

##### Declaration

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

```

##### Parameters

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

#### FieldReaderException(Type)

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

##### Declaration

```csharp
public FieldReaderException(Type type)

```

##### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.Type | type | The type attempting to be read. |

#### FieldReaderException(Type, Exception)

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

##### Declaration

```csharp
public FieldReaderException(Type type, Exception innerException)

```

##### Parameters

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