Kinetica   C#   API  Version 7.2.3.1
KineticaTransportException Class Reference

Thrown by HttpClientTransport when the server responds with a non-2xx status code. More...

Inherits Exception.

Public Member Functions

 KineticaTransportException (int statusCode, byte[] body)
 

Properties

int StatusCode [get]
 HTTP status code from the server response. More...
 
byte [] Body [get]
 Raw response body bytes (may contain Avro-encoded error message). More...
 

Detailed Description

Thrown by HttpClientTransport when the server responds with a non-2xx status code.

The raw response body is preserved so that Kinetica can decode the Kinetica error envelope.

Definition at line 167 of file HttpClientTransport.cs.

Constructor & Destructor Documentation

◆ KineticaTransportException()

KineticaTransportException.KineticaTransportException ( int  statusCode,
byte []  body 
)
inline

Definition at line 179 of file HttpClientTransport.cs.

Property Documentation

◆ Body

byte [] KineticaTransportException.Body
get

Raw response body bytes (may contain Avro-encoded error message).

Definition at line 177 of file HttpClientTransport.cs.

◆ StatusCode

int KineticaTransportException.StatusCode
get

HTTP status code from the server response.

Definition at line 172 of file HttpClientTransport.cs.


The documentation for this class was generated from the following file: