C# Class Kafka.Client.KafkaException

A wrapping of an error code returned from Kafka.
Inheritance: System.Exception
Exibir arquivo Open project: precog/kafka

Public Methods

Method Description
KafkaException ( int errorCode ) : System

Initializes a new instance of the KafkaException class.

Private Methods

Method Description
GetMessage ( int errorCode ) : string

Gets the message for the exception based on the Kafka error code.

Method Details

KafkaException() public method

Initializes a new instance of the KafkaException class.
public KafkaException ( int errorCode ) : System
errorCode int The error code generated by a request to Kafka.
return System