Class NoHostAvailableException
Exception thrown when a query cannot be performed because no host are available. This exception is thrown if
- either there is no host live in the cluster at the moment of the query
- all host that have been tried have failed due to a connection problem
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Dse
Assembly: Dse.dll
Syntax
public class NoHostAvailableException : DriverException, ISerializable
Constructors
NoHostAvailableException(Dictionary<IPEndPoint, Exception>)
Declaration
public NoHostAvailableException(Dictionary<IPEndPoint, Exception> errors)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.Dictionary<System.Net.IPEndPoint, System.Exception> | errors |
Properties
Errors
Gets the hosts tried along with descriptions of the error encountered while trying them.
Declaration
public Dictionary<IPEndPoint, Exception> Errors { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<System.Net.IPEndPoint, System.Exception> |
Implements
System.Runtime.Serialization.ISerializable