captured_exception

Summary

Class used by Intel® Threading Building Blocks (Intel® TBB) to capture an approximation of an exception.

Syntax

class captured_exception;

Header

#include "tbb/tbb_exception.h"

Description

When a task throws an exception, sometimes Intel TBB converts the exception to a captured_exception before propagating it. The conditions for conversion are described in Section Exceptions.

Members

namespace tbb {
        class captured_exception: public tbb_exception {
            captured_exception(const captured_exception& src);
            captured_exception(const char* name, const char* info);
            ~captured_exception() throw();
            captured_exception& operator=(const captured_exception&);
            captured_exception* move() throw();
            void destroy() throw();
            void throw_self();
            const char* name() const throw();
            const char* what() const throw();
        };
    }
The following table provides information on the additions that captured_exception makes to tbb_exception. Section tbb_exception describes the rest of the interface.
Member Description
captured_exception( const char* name, const char* info )

Constructs a captured_exception with the specified name and info.

See Also

For more complete information about compiler optimizations, see our Optimization Notice.