Exceptions thrown by the OSB applications
Definition at line 95 of file apperror.h.
OSB_APP::AppException::AppException | ( | ErrorNo | e | ) | [inline] |
AppException & OSB_APP::AppException::operator<< | ( | const T & | t | ) | [inline] |
Add an argument to the exception.
void foo(const Contract& co) { ... throw AppException(27) << co.oid(); ... }
Reimplemented from OSB_LIB::BaseError.
Definition at line 216 of file apperror.h.
References operator<<().
const char *const OSB_APP::AppException::prefix | ( | ) | const [inline, virtual] |
Access error code.
Implements OSB_LIB::BaseError.
Definition at line 210 of file apperror.h.
References prefix_.
const char* const OSB_APP::AppException::prefix_ [static, private] |