This is the default exception thrown by the OSB library if no specialized exception is defined.
Definition at line 268 of file osberror.h.
OSB_LIB::DefException::DefException | ( | ErrorNo | e | ) | [inline] |
DefException & OSB_LIB::DefException::operator<< | ( | const T & | t | ) | [inline] |
Add an argument to the exception.
void foo(const Contract& co) { ... throw DefException(27) << co.oid(); ... }
Reimplemented from OSB_LIB::BaseError.
Definition at line 542 of file osberror.h.
References OSB_LIB::operator<<().