Go to the source code of this file.
◆ TRY_REGISTER_ACCESS
| #define TRY_REGISTER_ACCESS |
( |
|
COMMAND | ) |
|
Value: try { \
COMMAND \
} \
catch(std::out_of_range & outOfRangeException) { \
std::stringstream errorMessage; \
errorMessage << "Invalid address offset " << address << " in bar " << bar << "." \
<< "Caught out_of_range exception: " << outOfRangeException.what(); \
std::cout << errorMessage.str() << std::endl; \
}
Exception thrown when a logic error has occured.
Definition at line 14 of file DummyBackendBase.h.