This struct provides a namespace for static utility functions that throw standard library exceptions.

Synopsis

Declared in <bsls_bslexceptionutil.h>

struct BslExceptionUtil;

Static Member Functions

Name

Description

throwBadAlloc [noreturn]

Throw a bsl::bad_alloc exception, or abort if exceptions are disabled.

throwBadCast [noreturn]

Throw a bsl::bad_cast exception, or abort if exceptions are disabled.

throwBadException [noreturn]

Throw a bsl::bad_exception exception, or abort if exceptions are disabled.

throwBadTypeid [noreturn]

Throw a bsl::bad_typeid exception, or abort if exceptions are disabled.

throwException [noreturn]

Throw a bsl::exception exception, or abort if exceptions are disabled.

Created with MrDocs