Embedded Multicore Building Blocks V1.0.0
|
Abstract base class for exceptions. More...
#include <exceptions.h>
Public Member Functions | |
Exception (const char *message) | |
Constructs an exception with a custom message. More... | |
virtual | ~Exception () throw () |
Destructs the exception. More... | |
Exception (const Exception &e) | |
Constructs an exception by copying from an existing one. More... | |
Exception & | operator= (const Exception &e) |
Assigns an existing exception. More... | |
virtual const char * | What () const throw () |
Returns the error message. More... | |
virtual int | Code () const =0 |
Returns an integer code representing the exception. More... | |
Abstract base class for exceptions.
|
explicit |
Constructs an exception with a custom message.
[in] | message | Error message |
|
virtual |
Destructs the exception.
embb::base::Exception::Exception | ( | const Exception & | e | ) |
Constructs an exception by copying from an existing one.
[in] | e | Exception to be copied |
Assigns an existing exception.
*this
[in] | e | Exception to assign |
|
virtual |
Returns the error message.
|
pure virtual |
Returns an integer code representing the exception.
Implemented in embb::base::ErrorException, embb::base::OverflowException, embb::base::UnderflowException, embb::base::ResourceBusyException, embb::base::NoMemoryException, and embb::mtapi::StatusException.