Base exception for all Cvb exceptions.
More...
|
| | CvbException (string message, int errorCode) |
| | Creates a generic CVB exception object with the given message and errorCode .
|
| |
| | CvbException (string message) |
| | Creates a generic CVB exception object with the generic error code and the given message .
|
| |
|
| static Exception | FromCvbResult (int errorCode) |
| | Returns the appropriate Exception object based on the given errorCode .
|
| |
| static Exception | FromCvbResult (int errorCode, string message) |
| | Returns the appropriate Exception object based on the given errorCode with the given message text.
|
| |
|
| | CvbException (int errorCode) |
| | Creates a generic CVB exception object with the given errorCode and no message text.
|
| |
|
| CvbException () |
| | Creates a generic CVB exception object with the generic error code and no message text.
|
| |
Base exception for all Cvb exceptions.
◆ CvbException() [1/3]
Creates a generic CVB exception object with the given message and errorCode .
- Parameters
-
| message | Human readable error reason. |
| errorCode | CVB result code. |
◆ CvbException() [2/3]
Creates a generic CVB exception object with the generic error code and the given message .
- Parameters
-
| message | Human readable error reason. |
◆ CvbException() [3/3]
Creates a generic CVB exception object with the given errorCode and no message text.
- Parameters
-
◆ FromCvbResult() [1/2]
| static Exception FromCvbResult |
( |
int | errorCode | ) |
|
|
static |
Returns the appropriate Exception object based on the given errorCode .
The returned exception object has no message.
- Parameters
-
| errorCode | CVB result code smaller than zero. |
- Returns
- Appropriate Exception object.
◆ FromCvbResult() [2/2]
| static Exception FromCvbResult |
( |
int | errorCode, |
|
|
string | message ) |
|
static |
Returns the appropriate Exception object based on the given errorCode with the given message text.
- Parameters
-
| errorCode | CVB result code smaller than zero. |
| message | Human readable error reason. |
- Returns
- Appropriate Exception object.