hamigaki.png

前のページ 上に戻る ホーム 次のページ

Class exception_storage

hamigaki::thread::exception_storage —

Synopsis

class exception_storage {
public:

  // ExceptionStorage implementation
  void clear();
  void store();
  void rethrow() const;
};

Description

モデルとなるコンセプト:ExceptionStorage

exception_storage ExceptionStorage implementation

  1. void clear();
    Effects: 保持している例外メッセージを破棄する。
  2. void store();
    Effects: 未捕捉例外eがstd::exceptionの派生クラスである場合、e.what()の返す文字列を保管する。
  3. void rethrow() const;
    Effects: 保持している例外メッセージでstd::runtime_errorを初期化し、そのオブジェクトを例外として送出する。
製作著作 © 2006, 2007 Takeshi Mouri

前のページ 上に戻る ホーム 次のページ