libkindrv 0.1
Loading...
Searching...
No Matches
KinDrv::KinDrvException Class Reference

Exception that is thrown by this Api. More...

#include <exception.h>

Inheritance diagram for KinDrv::KinDrvException:

Public Member Functions

 KinDrvException () throw ()
 
 KinDrvException (const char *msg) throw ()
 
 KinDrvException (error_t err, const char *msg) throw ()
 
virtual ~KinDrvException () throw ()
 
const char * what () const throw ()
 
const error_t error () const throw ()
 

Detailed Description

Exception that is thrown by this Api.

Constructor & Destructor Documentation

◆ KinDrvException() [1/3]

KinDrv::KinDrvException::KinDrvException ( )
throw ( )

Constructor. Constructs a new unknown exception with default parameters (type is ERROR_UNKNOWN, with "Unknown exception" as the message text).

◆ KinDrvException() [2/3]

KinDrv::KinDrvException::KinDrvException ( const char * msg)
throw ( )

Constructor. Constructs a new unknown exception (type is ERROR_UNKNOWN). The error message can be set manually.

Parameters
msgThe message text of the exception.

◆ KinDrvException() [3/3]

KinDrv::KinDrvException::KinDrvException ( error_t err,
const char * msg )
throw ( )

Constructor. Constructs a new exception, type and message text can be set manually.

Parameters
errThe error type of this exception.
msgThe message text of the exception.

◆ ~KinDrvException()

KinDrv::KinDrvException::~KinDrvException ( )
throw ( )
virtual

Destructor.

Member Function Documentation

◆ error()

const error_t KinDrv::KinDrvException::error ( ) const
throw ( )

Get the error type.

Returns
The error type of the exception.

◆ what()

const char * KinDrv::KinDrvException::what ( ) const
throw ( )

Get the error message.

Returns
The error message of the exception.

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