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
    DseDriverException
      DseNoHostAvailableException

Namespace:  Dse
Assembly:  Dse (in Dse.dll) Version: 2.9.0
Syntax
C#
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

Reference