![]() |
Lumiera 0.pre.04
»edit your freedom«
|
Some aspects of C++ exception handling.
Not to be confused with the basic C-style error value mechanism used by the low-level parts of the vault. Both approaches are largely orthogonal, but the C++ exception handling uses the C-style error constants.
Definition at line 58 of file exception-error-test.cpp.
Classes | |
| class | SpecificError |
| a very specific Exception class local to this scope and with additional behaviour. More... | |
Private Types | |
| typedef ExceptionError_test | test |
Private Member Functions | |
| virtual void | run (Arg) |
| void | throwSpecial (string) |
| void | throwDerived (string) |
| void | throwFatal (string _) |
| void | throwInvalid (string _) |
| void | throwExternal (string _) |
| void | throwRuntime (string _) |
| void | throwExceptn (string) |
| void | nestedThrower (string msg) |
| void | doubleNestedTh (string msg) |
| void | detectErrorflag (string) |
| void | checkErrorFlagPropagation () |
| void | checkRootCauseChaining () |
| void | catcher (void(ExceptionError_test::*funky)(string), string context="") |
| helper: provides a bunch of catch-clauses and runs the given member functions within | |
|
private |
Definition at line 60 of file exception-error-test.cpp.
|
inlineprivatevirtual |
Definition at line 63 of file exception-error-test.cpp.
References ExceptionError_test::catcher(), ExceptionError_test::checkErrorFlagPropagation(), ExceptionError_test::checkRootCauseChaining(), ExceptionError_test::doubleNestedTh(), ExceptionError_test::nestedThrower(), ExceptionError_test::throwDerived(), ExceptionError_test::throwExceptn(), ExceptionError_test::throwExternal(), ExceptionError_test::throwFatal(), ExceptionError_test::throwInvalid(), ExceptionError_test::throwRuntime(), and ExceptionError_test::throwSpecial().
Here is the call graph for this function:
|
inlineprivate |
Definition at line 83 of file exception-error-test.cpp.
Referenced by ExceptionError_test::run().
Here is the caller graph for this function:
|
inlineprivate |
Definition at line 84 of file exception-error-test.cpp.
Referenced by ExceptionError_test::run().
Here is the caller graph for this function:
|
inlineprivate |
Definition at line 85 of file exception-error-test.cpp.
References _.
Referenced by ExceptionError_test::run().
Here is the caller graph for this function:
|
inlineprivate |
Definition at line 86 of file exception-error-test.cpp.
References _.
Referenced by ExceptionError_test::run().
Here is the caller graph for this function:
|
inlineprivate |
Definition at line 87 of file exception-error-test.cpp.
References _.
Referenced by ExceptionError_test::nestedThrower(), and ExceptionError_test::run().
Here is the caller graph for this function:
|
inlineprivate |
Definition at line 88 of file exception-error-test.cpp.
References _.
Referenced by ExceptionError_test::run().
Here is the caller graph for this function:
|
inlineprivate |
Definition at line 89 of file exception-error-test.cpp.
Referenced by ExceptionError_test::run().
Here is the caller graph for this function:
|
inlineprivate |
Definition at line 101 of file exception-error-test.cpp.
References ExceptionError_test::throwExternal().
Referenced by ExceptionError_test::doubleNestedTh(), and ExceptionError_test::run().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprivate |
Definition at line 113 of file exception-error-test.cpp.
References ExceptionError_test::nestedThrower(), and Error::what().
Referenced by ExceptionError_test::run().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprivate |
Definition at line 125 of file exception-error-test.cpp.
References lumiera::throwOnError().
Referenced by ExceptionError_test::checkErrorFlagPropagation().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprivate |
Definition at line 131 of file exception-error-test.cpp.
References ExceptionError_test::catcher(), ExceptionError_test::detectErrorflag(), lumiera_error_peek(), and lumiera_error_set().
Referenced by ExceptionError_test::run().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprivate |
Definition at line 144 of file exception-error-test.cpp.
References Error::rootCause().
Referenced by ExceptionError_test::run().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprivate |
helper: provides a bunch of catch-clauses and runs the given member functions within
Definition at line 190 of file exception-error-test.cpp.
References ExceptionError_test::SpecificError::revealIt(), and Error::what().
Referenced by ExceptionError_test::checkErrorFlagPropagation(), and ExceptionError_test::run().
Here is the call graph for this function:
Here is the caller graph for this function:
Inheritance diagram for ExceptionError_test:
Collaboration diagram for ExceptionError_test: