Click or drag to resize
NoHostAvailableException Class
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
For debugging purpose, the list of hosts that have been tried along with the failure cause can be retrieved using the #errors method.
Inheritance Hierarchy
SystemObject
  SystemException
    CassandraDriverException
      CassandraNoHostAvailableException

Namespace: Cassandra
Assembly: Cassandra (in Cassandra.dll) Version: 3.4.0
Syntax
C#
[SerializableAttribute]
public class NoHostAvailableException : DriverException

The NoHostAvailableException type exposes the following members.

Constructors
  NameDescription
Public methodNoHostAvailableException
Initializes a new instance of the NoHostAvailableException class
Top
Properties
  NameDescription
Public propertyErrors
Gets the hosts tried along with descriptions of the error encountered while trying them.
Top
See Also