Class FieldReaderException
Version: 21.x
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
RequestResponse
public class FieldReaderException : ExceptionConstructors
FieldReaderException(String)
Initializes a new instance of the FieldReaderException class.
Declaration
RequestResponse
public FieldReaderException(string message)Parameters
| Type | Name | Description |
|---|---|---|
| System.String | message |
The exception message. |
FieldReaderException(String, Exception)
Initializes a new instance of the FieldReaderException class.
Declaration
RequestResponse
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 class.
Declaration
RequestResponse
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 class.
Declaration
RequestResponse
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. |