satellite_caught_exception
satellite_caught_exception — 例外が前の関数からキャッチされたかどうかを調べる
説明
bool satellite_caught_exception ( void )この関数は、例外がキャッチされた場合にTRUEを返します。
例 2007. IDLファイルのサンプル
/* ++?????++ Out of Cheese Error. Redo From Start. */
exception OutOfCheeseError {
    int parameter;
}
interface AnotherInterface {
    void AskWhy() raises (OutOfCheeseError);
}
      例 2008. CORBA例外を処理するPHPコード
<?php
$obj = new OrbitObject ($ior);
$obj->AskWhy();
if (satellite_caught_exception()) {
    if ("IDL:OutOfCheeseError:1.0" == satellite_exception_id()) {
        $exception = satellite_exception_value();
        echo $exception->parameter;
    }
}
?>
- satellite_caught_exceptionのページへのリンク

 
                             
                    


