|
Sauce-0.10.1
A C++ Dependency Injection Framework
|
A mixin to defer and throw pending exceptions. More...
#include <sauce/internal/pending_thrower.h>

Public Member Functions | |
| template<typename Exception > | |
| void | throwLater () |
| Save an exception of the given type to throw when it is safe. | |
| void | throwAnyPending () |
| Throw and clear any saved exception. | |
| PendingThrow | clear () |
| Clear and return any saved exception. | |
A mixin to defer and throw pending exceptions.
|
inline |
Clear and return any saved exception.
returns NULL if no exception is pending.
|
inline |
Save an exception of the given type to throw when it is safe.
The exception must have an accessible nullary constructor.
Any previously saved exception is dropped.
1.8.3