Quick Links:

bal | bbl | bdl | bsl

Static Public Member Functions

bslstl::StdExceptUtil Struct Reference

#include <bslstl_stdexceptutil.h>

List of all members.

Static Public Member Functions

static
BSLS_ANNOTATION_NORETURN void 
throwRuntimeError (const char *message)
static
BSLS_ANNOTATION_NORETURN void 
throwLogicError (const char *message)
static
BSLS_ANNOTATION_NORETURN void 
throwDomainError (const char *message)
static
BSLS_ANNOTATION_NORETURN void 
throwInvalidArgument (const char *message)
static
BSLS_ANNOTATION_NORETURN void 
throwLengthError (const char *message)
static
BSLS_ANNOTATION_NORETURN void 
throwOutOfRange (const char *message)
static
BSLS_ANNOTATION_NORETURN void 
throwRangeError (const char *message)
static
BSLS_ANNOTATION_NORETURN void 
throwOverflowError (const char *message)
static
BSLS_ANNOTATION_NORETURN void 
throwUnderflowError (const char *message)

Detailed Description

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

See Component bslstl_stdexceptutil


Member Function Documentation

static BSLS_ANNOTATION_NORETURN void bslstl::StdExceptUtil::throwRuntimeError ( const char *  message  )  [static]

Throw a std::runtime_error exception supplying the specified message as the sole argument to its constructor.

static BSLS_ANNOTATION_NORETURN void bslstl::StdExceptUtil::throwLogicError ( const char *  message  )  [static]

Throw a std::logic_error exception supplying the specified message as the sole argument to its constructor.

static BSLS_ANNOTATION_NORETURN void bslstl::StdExceptUtil::throwDomainError ( const char *  message  )  [static]

Throw a std::domain_error exception supplying the specified message as the sole argument to its constructor.

static BSLS_ANNOTATION_NORETURN void bslstl::StdExceptUtil::throwInvalidArgument ( const char *  message  )  [static]

Throw a std::invalid_argument exception supplying the specified message as the sole argument to its constructor.

static BSLS_ANNOTATION_NORETURN void bslstl::StdExceptUtil::throwLengthError ( const char *  message  )  [static]

Throw a std::length_error exception supplying the specified message as the sole argument to its constructor.

static BSLS_ANNOTATION_NORETURN void bslstl::StdExceptUtil::throwOutOfRange ( const char *  message  )  [static]

Throw a std::out_of_range exception supplying the specified message as the sole argument to its constructor.

static BSLS_ANNOTATION_NORETURN void bslstl::StdExceptUtil::throwRangeError ( const char *  message  )  [static]

Throw a std::range_error exception supplying the specified message as the sole argument to its constructor.

static BSLS_ANNOTATION_NORETURN void bslstl::StdExceptUtil::throwOverflowError ( const char *  message  )  [static]

Throw a std::overflow_error exception supplying the specified message as the sole argument to its constructor.

static BSLS_ANNOTATION_NORETURN void bslstl::StdExceptUtil::throwUnderflowError ( const char *  message  )  [static]

Throw a std::underflow_error exception supplying the specified message as the sole argument to its constructor.


The documentation for this struct was generated from the following file: