A device detection library that is used natively or by 51Degrees products

FiftyoneDegrees::Common::FatalException Class Reference

Detailed Description

Fatal exception meaning the process should be halted.

Inheritance diagram for FiftyoneDegrees::Common::FatalException:

[legend]

Collaboration diagram for FiftyoneDegrees::Common::FatalException:

[legend]

Public Member Functions

 FatalException (fiftyoneDegreesException *exception)
 New exception from the C exception structure provided.

Public Member Functions inherited from FiftyoneDegrees::Common::StatusCodeException

 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.

Additional Inherited Members

Protected Member Functions inherited from FiftyoneDegrees::Common::StatusCodeException

 StatusCodeException ()
 Default constructor.

Protected Attributes inherited from FiftyoneDegrees::Common::StatusCodeException

fiftyoneDegreesStatusCode statusCode
 Status code.
string message
 Error message from the status code.

Constructor & Destructor Documentation

◆ FatalException()

FiftyoneDegrees::Common::FatalException::FatalException ( fiftyoneDegreesException * exception)

New exception from the C exception structure provided.

Parameters
exceptionto convert to a C++ exception

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