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
infoSerializationInfoA SerializationInfo holding serialized object data.
contextStreamingContextA 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
typeNamestringThe 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
typeNamestringThe name of the type that was not found.
messagestringA 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
typeNamestringThe name of the type that was not found.
messagestringA short description of the error.
innerExceptionExceptionThe inner exception that caused this error.
Properties
TypeName
Gets the name of the type that could not be located.
public string TypeName { get; }