Change from a bulk-reporting ErrorMap policy to an immediate-throw IFail exception policy. RAII class for temporary change and restore.
More...
#include <error_map.hxx>
Change from a bulk-reporting ErrorMap policy to an immediate-throw IFail exception policy. RAII class for temporary change and restore.
Definition at line 238 of file error_map.hxx.
| Teamcenter::ExceptionPolicy::ExceptionPolicy |
( |
| ) |
|
| Teamcenter::ExceptionPolicy::ExceptionPolicy |
( |
bool |
throwOnError | ) |
|
|
explicit |
Maybe change from a bulk-reporting to an immediate-throw policy for the lifetime of this object. Note that any active throw-on-error policy always wins!
- Parameters
-
| Teamcenter::ExceptionPolicy::~ExceptionPolicy |
( |
| ) |
|
Restore previous ErrorMap bulk-reporting policy (if different).
| static bool Teamcenter::ExceptionPolicy::throwOnError |
( |
| ) |
|
|
static |
| bool Teamcenter::ExceptionPolicy::m_setThrowOnError |
|
private |
Need to change state of ErrorMap::s_throwOnError?
Definition at line 266 of file error_map.hxx.
| bool Teamcenter::ExceptionPolicy::s_overrideThrowOnError |
|
staticprivate |
| bool Teamcenter::ExceptionPolicy::s_throwOnError |
|
staticprivate |
Bulk-reporting policy - false by default.
Definition at line 269 of file error_map.hxx.
The documentation for this class was generated from the following file: