The exception thrown by the Kinetica client when a request fails or the server returns an error. More…
Inherits 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 () |
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/4]
| inline |
Initializes a new exception with no message.
Definition at line 13 of file KineticaException.cs.
◆ KineticaException() [2/4]
| inline |
Initializes a new exception with the given error message.
| msg | The error message. |
Definition at line 17 of file KineticaException.cs.
◆ KineticaException() [3/4]
| inline |
Initializes a new exception with the given message and inner exception.
| msg | The error message. |
| innerException | The exception that caused this one. |
Definition at line 22 of file KineticaException.cs.
◆ KineticaException() [4/4]
| inline |
Creates a KineticaException with an HTTP status code.
| msg | Error message |
| statusCode | HTTP status code |
| innerException | Inner exception (optional) |
Definition at line 31 of file KineticaException.cs.
Member Function Documentation
◆ ToString()
| inline |
Definition at line 41 of file KineticaException.cs.
◆ what()
| inline |
Returns the exception’s message (provided for Java/C++ API parity).
Definition at line 38 of file KineticaException.cs.
Property Documentation
◆ 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 file:
- Kinetica/KineticaException.cs