#include <LOW_device.h>
Inheritance diagram for LOW_device::illegalCast_error:
Public Member Functions | |
illegalCast_error (const std::string inMsg, const std::string inFile, const int inLine) | |
illegalCast_error (const int inErrNum, const std::string inMsg, const std::string inFile, const int inLine) | |
virtual void | logException (const std::string inPrefix="") |
Log the exception via LOW_helper_msglog::printError(). | |
Static Public Member Functions | |
void | setLogOnCreation (const bool inLogOnCreation) |
Set wether exceptions should be logged automatically when created. | |
const bool | getLogOnCreation () |
Get wether exceptions are logged automatically when created. | |
Public Attributes | |
const int | errNum |
OS error number. | |
const std::string | message |
Descriptive message. | |
const std::string | file |
File from which exception was thrown. | |
const int | line |
Line number where exception was thrown. | |
Static Protected Attributes | |
LOW_thread_rwlock * | __staticSyncRwlockSingleton = 0 |
LOW_platformMiscFactory::threadIdent_t | __writeLockHolder = 0 |
bool | logOnCreation = false |
Indicates wether exception should be logged automatically when the are created. |
This exception is also used by many other classes.
Definition at line 64 of file LOW_device.h.
|
Definition at line 64 of file LOW_device.h. |
|
Definition at line 64 of file LOW_device.h. |
|
Get wether exceptions are logged automatically when created.
Definition at line 89 of file LOW_exception.cpp. References __LOW_SYNCHRONIZE_STATIC_READ__, and LOW_exception::logOnCreation. |
|
Log the exception via LOW_helper_msglog::printError().
Definition at line 102 of file LOW_exception.cpp. References LOW_exception::errNum, LOW_exception::file, LOW_exception::line, LOW_exception::message, LOW_helper_msglog::printError(), and LOW_helper_msglog::printPerror(). Referenced by LOW_exception::LOW_exception(). |
|
Set wether exceptions should be logged automatically when created.
Definition at line 81 of file LOW_exception.cpp. References __LOW_SYNCHRONIZE_STATIC_WRITE__, and LOW_exception::logOnCreation. |
|
Definition at line 32 of file LOW_exception.cpp. |
|
Definition at line 32 of file LOW_exception.cpp. |
|
OS error number.
Definition at line 56 of file LOW_exception.h. Referenced by LOW_exception::logException(). |
|
File from which exception was thrown.
Definition at line 58 of file LOW_exception.h. Referenced by LOW_exception::logException(). |
|
Line number where exception was thrown.
Definition at line 59 of file LOW_exception.h. Referenced by LOW_exception::logException(). |
|
Indicates wether exception should be logged automatically when the are created.
Definition at line 34 of file LOW_exception.cpp. Referenced by LOW_exception::getLogOnCreation(), LOW_exception::LOW_exception(), and LOW_exception::setLogOnCreation(). |
|
Descriptive message.
Definition at line 57 of file LOW_exception.h. Referenced by LOW_exception::logException(). |