22.20.2 SystemExceptionのメソッド
-
CORBA::SystemException(
CORBA::ULong minor = 0,
CORBA::CompletionStatus status = CORBA::COMPLETED_NO);
このメソッドは,指定されたプロパティを持つSystemExceptionオブジェクトを生成します。
-
minor
マイナーコード
-
status
次に示す完了ステータスのどれか一つ
CORBA::COMPLETED_YES
CORBA::COMPLETED_NO
CORBA::COMPLETED_MAYBE
-
-
CORBA::CompletionStatus completed() const;
このメソッドは,オブジェクトの完了ステータスを返します。
-
void completed(
CORBA::CompletionStatus status);
このメソッドは,オブジェクトの完了ステータスを設定します。
-
status
次に示す完了ステータスのどれか一つ
CORBA::COMPLETED_YES
CORBA::COMPLETED_NO
CORBA::COMPLETED_MAYBE
-
-
CORBA::ULong minor() const;
このメソッドは,オブジェクトのマイナーコードを返します。
-
void minor(
CORBA::ULong val);
このメソッドは,オブジェクトのマイナーコードを設定します。
-
val
マイナーコード
-
-
static CORBA::SystemException *_downcast(
CORBA::Exception *exc);
このメソッドは,指定されたExceptionポインタをSystemExceptionポインタにダウンキャストしようとします。指定されたポインタがSystemExceptionオブジェクトまたはSystemExceptionから派生したオブジェクトを指す場合,オブジェクトを指すポインタが返されます。指定されたポインタがSystemExceptionオブジェクトを指していない場合は,NULLポインタが返されます。
- 注
-
このメソッドを使って,Exceptionオブジェクトのリファレンスカウントを増やすことはできません。
-
exc
ダウンキャストされるExceptionポインタ
システム例外一覧を次の表に示します。