Definition in file manager_bad.cc.
Include dependency graph for manager_bad.cc:
Go to the source code of this file.
Defines | |
#define | expect_catch(BLOCK, EXCEPTION) |
Macro used to catch and possibly print out expected exceptions. | |
Functions | |
int | main (int argc, char *argv[]) |
Variables | |
struct { | |
int verbose | |
} | args |
|
Value: { \ try \ { \ BLOCK; \ ensure(0); \ } \ catch(const EXCEPTION &_e) \ { \ if( args.verbose ) \ { \ cerr << "Tried \"" \ << __STRING(BLOCK) \ << "\" at line " \ << __LINE__ \ << " and got expected exception \"" \ << _e \ << "\"" \ << endl; \ } \ } \ }
Definition at line 44 of file manager_bad.cc. |