|
RDK Documentation (Open Sourced RDK Components)
|
Go to the documentation of this file.
37 #ifndef _DS_EXCEPTION_H_
38 #define _DS_EXCEPTION_H_
67 Exception(
const char *msg =
"No Message for this exception") throw() :
_msg(msg) {
82 Exception(
int err,
const char *msg =
"No Message for this Exception") throw()
116 virtual const char *
what()
const throw() {
virtual const char * what() const
This function is overwritten to get the null terminated character sequence of the exception message.
virtual ~Exception()
This function is the default destructor of Exception class.
Exception(int err, const char *msg="No Message for this Exception")
This function is a parameterised constructor of the class Exception. It initializes the instance with...
Exception(const char *msg="No Message for this exception")
This function is a parameterised constructor of the class Exception. It initializes the instance with...
virtual int getCode() const
This function is used to get the error code of the exception.
int _err
Indicates error code for the exception.
This class handles exceptions occurring in DS module.
virtual const std::string & getMessage() const
This function is used to get the message string of the exception.
std::string _msg
Indicates the error message.