Class InvalidTypeException
Exception that is thrown when the driver expected a type and other was provided
Implements
ISerializable
Inherited Members
Exception.GetBaseException()
Exception.GetObjectData(SerializationInfo, StreamingContext)
Exception.GetType()
Exception.ToString()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.Source
Exception.StackTrace
Exception.TargetSite
Exception.SerializeObjectState
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: Cassandra
Assembly: Cassandra.dll
Syntax
public class InvalidTypeException : DriverException, ISerializable
Constructors
InvalidTypeException(string, Exception)
Declaration
public InvalidTypeException(string msg, Exception cause)
Parameters
Type | Name | Description |
---|---|---|
string | msg | |
Exception | cause |
InvalidTypeException(string, object, object[])
Declaration
public InvalidTypeException(string paramName, object receivedType, object[] expectedType)
Parameters
Type | Name | Description |
---|---|---|
string | paramName | |
object | receivedType | |
object[] | expectedType |
InvalidTypeException(string)
Declaration
public InvalidTypeException(string msg)
Parameters
Type | Name | Description |
---|---|---|
string | msg |
Properties
ExpectedType
Declaration
public object[] ExpectedType { get; }
Property Value
Type | Description |
---|---|
object[] |
ParamName
Declaration
public string ParamName { get; }
Property Value
Type | Description |
---|---|
string |
ReceivedType
Declaration
public object ReceivedType { get; }
Property Value
Type | Description |
---|---|
object |
Implements
System.Runtime.Serialization.ISerializable