Skip to main content

The exception thrown by the Kinetica client when a request fails or the server returns an error. More…

Inherits System.Exception, and System.Exception.

Public Member Functions

 KineticaException ()
 Initializes a new exception with no message.
 
 KineticaException (string msg)
 Initializes a new exception with the given error message.
 
 KineticaException (string msg, Exception innerException)
 Initializes a new exception with the given message and inner exception.
 
 KineticaException (string msg, int? statusCode, Exception? innerException=null)
 Creates a KineticaException with an HTTP status code.
 
string what ()
 Returns the exception’s message (provided for Java/C++ API parity).
 
override string ToString ()
 
 KineticaException ()
 Initializes a new exception with no message.
 
 KineticaException (string msg)
 Initializes a new exception with the given error message.
 
 KineticaException (string msg, Exception innerException)
 Initializes a new exception with the given message and inner exception.
 
 KineticaException (string msg, int? statusCode, Exception? innerException=null)
 Creates a KineticaException with an HTTP status code.
 
string what ()
 Returns the exception’s message (provided for Java/C++ API parity).
 
override string ToString ()
 

Properties

int? StatusCode [get]
 HTTP status code if this exception originated from an HTTP error response.
 

Detailed Description

The exception thrown by the Kinetica client when a request fails or the server returns an error.

Definition at line 4 of file KineticaException.cs.

Constructor & Destructor Documentation

◆ KineticaException() [1/8]

kinetica.KineticaException.KineticaException ()
inline

Initializes a new exception with no message.

Definition at line 13 of file KineticaException.cs.

◆ KineticaException() [2/8]

kinetica.KineticaException.KineticaException (stringmsg)
inline

Initializes a new exception with the given error message.

Parameters
msgThe error message.

Definition at line 17 of file KineticaException.cs.

◆ KineticaException() [3/8]

kinetica.KineticaException.KineticaException (stringmsg,
ExceptioninnerException )
inline

Initializes a new exception with the given message and inner exception.

Parameters
msgThe error message.
innerExceptionThe exception that caused this one.

Definition at line 22 of file KineticaException.cs.

◆ KineticaException() [4/8]

kinetica.KineticaException.KineticaException (stringmsg,
int?statusCode,
Exception?innerException = null )
inline

Creates a KineticaException with an HTTP status code.

Parameters
msgError message
statusCodeHTTP status code
innerExceptionInner exception (optional)

Definition at line 31 of file KineticaException.cs.

◆ KineticaException() [5/8]

kinetica.KineticaException.KineticaException ()
inline

Initializes a new exception with no message.

Definition at line 13 of file KineticaException.cs.

◆ KineticaException() [6/8]

kinetica.KineticaException.KineticaException (stringmsg)
inline

Initializes a new exception with the given error message.

Parameters
msgThe error message.

Definition at line 17 of file KineticaException.cs.

◆ KineticaException() [7/8]

kinetica.KineticaException.KineticaException (stringmsg,
ExceptioninnerException )
inline

Initializes a new exception with the given message and inner exception.

Parameters
msgThe error message.
innerExceptionThe exception that caused this one.

Definition at line 22 of file KineticaException.cs.

◆ KineticaException() [8/8]

kinetica.KineticaException.KineticaException (stringmsg,
int?statusCode,
Exception?innerException = null )
inline

Creates a KineticaException with an HTTP status code.

Parameters
msgError message
statusCodeHTTP status code
innerExceptionInner exception (optional)

Definition at line 31 of file KineticaException.cs.

Member Function Documentation

◆ ToString() [1/2]

override string kinetica.KineticaException.ToString ()
inline

Definition at line 41 of file KineticaException.cs.

◆ ToString() [2/2]

override string kinetica.KineticaException.ToString ()
inline

Definition at line 41 of file KineticaException.cs.

◆ what() [1/2]

string kinetica.KineticaException.what ()
inline

Returns the exception’s message (provided for Java/C++ API parity).

Definition at line 38 of file KineticaException.cs.

◆ what() [2/2]

string kinetica.KineticaException.what ()
inline

Returns the exception’s message (provided for Java/C++ API parity).

Definition at line 38 of file KineticaException.cs.

Property Documentation

◆ StatusCode

int kinetica.KineticaException.StatusCode
get

HTTP status code if this exception originated from an HTTP error response.

Null if the exception is not HTTP-related.

Definition at line 10 of file KineticaException.cs.


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