#include <bsls_bslexceptionutil.h>
This struct provides a namespace for static utility functions that throw standard library exceptions.
See bsls_bslexceptionutil
◆ throwBadAlloc()
Throw a bsl::bad_alloc exception if exceptions are enabled in the current build mode, otherwise abort the program. bsl::bad_alloc will be an alias for the platform's std::bad_alloc class, to ensure both ABI and API compatibility with non-BDE code relying on the standard exception hierarchy.
◆ throwBadCast()
Throw a bsl::bad_cast exception if exceptions are enabled in the current build mode, otherwise abort the program. bsl::bad_cast will be an alias for the platform's std::bad_cast class, to ensure both ABI and API compatibility with non-BDE code relying on the standard exception hierarchy.
◆ throwBadException()
Throw a bsl::bad_exception exception if exceptions are enabled in the current build mode, otherwise abort the program. bsl::bad_exception will be an alias for the platform's std::bad_exception class, to ensure both ABI and API compatibility with non-BDE code relying on the standard exception hierarchy.
◆ throwBadTypeid()
Throw a bsl::bad_typeid exception if exceptions are enabled in the current build mode, otherwise abort the program. bsl::bad_typeid will be an alias for the platform's std::bad_typeid class, to ensure both ABI and API compatibility with non-BDE code relying on the standard exception hierarchy.
◆ throwException()
Throw a bsl::exception exception if exceptions are enabled in the current build mode, otherwise abort the program. bsl::exception will be an alias for the platform's std::exception class, to ensure both ABI and API compatibility with non-BDE code relying on the standard exception hierarchy.
The documentation for this struct was generated from the following file: