Detailed Description
Exception containing the status code which caused the exception.
Inheritance diagram for FiftyoneDegrees::Common::StatusCodeException:
Collaboration diagram for FiftyoneDegrees::Common::StatusCodeException:
Public Member Functions | |
| StatusCodeException (fiftyoneDegreesStatusCode code) | |
| New exception from the status code provided. | |
| StatusCodeException (fiftyoneDegreesStatusCode code, const char *fileName) | |
| New exception from the status code provided and the file name relating to the operation which failed. | |
| ~StatusCodeException () | |
| Dispose of the exception instance. | |
| const char * | what () const noexcept |
| Get the message associated with the exception. | |
| fiftyoneDegreesStatusCode | getCode () const noexcept |
| Get the status code. | |
Protected Member Functions | |
| StatusCodeException () | |
| Default constructor. | |
Protected Attributes | |
| fiftyoneDegreesStatusCode | statusCode |
| Status code. | |
| string | message |
| Error message from the status code. | |
Constructor & Destructor Documentation
◆ StatusCodeException() [1/2]
| FiftyoneDegrees::Common::StatusCodeException::StatusCodeException | ( | fiftyoneDegreesStatusCode | code | ) |
New exception from the status code provided.
- Parameters
-
code indicating the error
◆ StatusCodeException() [2/2]
| FiftyoneDegrees::Common::StatusCodeException::StatusCodeException | ( | fiftyoneDegreesStatusCode | code, |
| const char * | fileName ) |
New exception from the status code provided and the file name relating to the operation which failed.
- Parameters
-
code indicating the error fileName relating the failed operation
Member Function Documentation
◆ what()
|
noexcept |
Get the message associated with the exception.
- Returns
- error message
The documentation for this class was generated from the following file:
