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
public class FieldReaderException : Exception

Constructors

FieldReaderException(String)

Initializes a new instance of the FieldReaderException class.

Declaration
public FieldReaderException(string message)
Parameters
TypeNameDescription
System.StringmessageThe exception message.

FieldReaderException(String, Exception)

Initializes a new instance of the FieldReaderException class.

Declaration
public FieldReaderException(string message, Exception innerException)
Parameters
TypeNameDescription
System.StringmessageThe exception message.
System.ExceptioninnerExceptionThe inner exception to be wrapped.

FieldReaderException(Type)

Initializes a new instance of the FieldReaderException class.

Declaration
public FieldReaderException(Type type)
Parameters
TypeNameDescription
System.TypetypeThe type attempting to be read.

FieldReaderException(Type, Exception)

Initializes a new instance of the FieldReaderException class.

Declaration
public FieldReaderException(Type type, Exception innerException)
Parameters
TypeNameDescription
System.TypetypeThe type attempting to be read.
System.ExceptioninnerExceptionThe inner exception to be wrapped.
If you have suggestions for improving this article, let us know!