captured_exception

概要

例外に似たものをキャプチャーするために、インテル® TBB で使用されるクラス。

構文

class captured_exception;

ヘッダー

#include "tbb/tbb_exception.h"

説明

タスクが例外をスローすると、インテル® TBB はその例外を伝える前に captured_exception に変換することがあります。変換条件は、「例外」セクションで説明されています。

メンバー

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();
        };
    }
次の表は、tbb_exception にはなく、captured_exception にあるインターフェイスの情報を提供します。その他のインターフェイスは、「tbb_exception」セクションで説明しています。
メンバー 説明
captured_exception( const char* name, const char* info )

指定された name および infocaptured_exception を構築します。

関連情報