Table of Contents

Class FindTypeException

Namespace
Utils.Expressions
Assembly
Utils.dll

Thrown when a type cannot be found during a type resolution process.

public class FindTypeException : Exception, ISerializable
Inheritance
FindTypeException
Implements
Inherited Members
Extension Methods

Constructors

FindTypeException(SerializationInfo, StreamingContext)

Initializes a new instance of the FindTypeException class with serialized data, typically used during deserialization.

protected FindTypeException(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

A SerializationInfo holding serialized object data.

context StreamingContext

A StreamingContext that describes the source and destination of the serialized stream.

FindTypeException(string)

Initializes a new instance of the FindTypeException class, specifying the name of the type that could not be found.

public FindTypeException(string typeName)

Parameters

typeName string

The name of the type that was not found.

FindTypeException(string, string)

Initializes a new instance of the FindTypeException class, specifying the name of the type that could not be found and a custom error message.

public FindTypeException(string typeName, string message)

Parameters

typeName string

The name of the type that was not found.

message string

A short description of the error.

FindTypeException(string, string, Exception)

Initializes a new instance of the FindTypeException class, specifying the name of the type that could not be found, a custom error message, and an inner exception.

public FindTypeException(string typeName, string message, Exception innerException)

Parameters

typeName string

The name of the type that was not found.

message string

A short description of the error.

innerException Exception

The inner exception that caused this error.

Properties

TypeName

Gets the name of the type that could not be located.

public string TypeName { get; }

Property Value

string