cisst-saw
|
Declaration of the template function cmnThrow. More...
Go to the source code of this file.
Macros | |
#define | _cmnThrow_h |
Functions | |
template<class _exceptionType > | |
void | cmnThrow (const _exceptionType &except, cmnLogLevel lod=CMN_LOG_LEVEL_INIT_ERROR) throw (_exceptionType) |
void | cmnThrow (const std::string &message, cmnLogLevel lod=CMN_LOG_LEVEL_INIT_ERROR) throw (std::runtime_error) |
void | cmnThrow (const char *message, cmnLogLevel lod=CMN_LOG_LEVEL_INIT_ERROR) throw (std::runtime_error) |
Declaration of the template function cmnThrow.
#define _cmnThrow_h |
|
inline |
Throw an std::runtime_error with a user defined message. These functions are provided to simplify the programmer's life as:
is a bit shorter than:
|
inline |