AutomationException - グローバル

  • リリースバージョン: Zurich
  • 更新日 2025年07月31日
  • 所要時間:1分
  • AutomationException スクリプトインクルードは、自動化のための汎用的な例外ラッピングを提供します。

    エラー処理を実装するために、自動化コードにこれを含めます。

    AutomationException - getMessage()

    エラー メッセージを取得します。

    表 : 1. パラメーター
    名前 タイプ 説明
    なし
    表 : 2. 返される内容
    タイプ 説明
    文字列 エラー メッセージ
    var ae = new AutomationException("This is an error message");
    gs.print(ae.getMessage());
    出力:
    This is an error message