クラス langedge::Exception

例外クラス階層の基底. [詳細]

#include <exception.hpp>

langedge::Exceptionに対する継承グラフ

Inheritance graph
[凡例]
すべてのメンバ一覧

Public メソッド

 Exception (int errcode=-1)
 エラーコードを与えるデフォルトコンストラクタ.
 Exception (const std::string &what)
 例外要因を与えるコンストラクタ.
 Exception (int errcode, const std::string &what)
 エラーコードと例外要因を与えるコンストラクタ.
virtual ~Exception () throw ()
 デストラクタ
virtual const char * what () const throw ()
 例外要因文字列取得.
const std::string & getErrorMessage () const throw ()
 std::string による例外要因文字列取得.
int getErrorCode () const throw ()
 エラーコードの取得.

説明

例外クラス階層の基底.

例外要因を説明する文字列の受渡しができる。


コンストラクタとデストラクタ

langedge::Exception::Exception int  errcode = -1  )  [inline, explicit]
 

エラーコードを与えるデフォルトコンストラクタ.

引数:
errcode エラーコード (デフォルトは -1)
覚え書き:
例外要因文字列は、"other error" になる

langedge::Exception::Exception const std::string &  what  )  [inline, explicit]
 

例外要因を与えるコンストラクタ.

引数:
what 例外要因を説明する文字列
覚え書き:
エラーコードは、-1 になる

langedge::Exception::Exception int  errcode,
const std::string &  what
[inline, explicit]
 

エラーコードと例外要因を与えるコンストラクタ.

引数:
errcode エラーコード
what 例外要因を説明する文字列

virtual langedge::Exception::~Exception  )  throw () [inline, virtual]
 

デストラクタ


関数

virtual const char* langedge::Exception::what  )  const throw () [inline, virtual]
 

例外要因文字列取得.

戻り値:
例外要因を説明する文字列

const std::string& langedge::Exception::getErrorMessage  )  const throw () [inline]
 

std::string による例外要因文字列取得.

戻り値:
例外要因を説明する文字列

int langedge::Exception::getErrorCode  )  const throw () [inline]
 

エラーコードの取得.

戻り値:
エラーコード


このクラスの説明は次のファイルから生成されました:
LangEdge ライブラリに対してFri May 6 22:43:03 2005に生成されました。  doxygen 1.4.2