AutomationException - Global

  • 릴리스 버전: Australia
  • 업데이트 날짜 2026년 03월 12일
  • 소요 시간: 1분
  • The AutomationException script include provides generic exception wrapping for automation.

    Include this in automation code to implement error handling.

    AutomationException - getMessage()

    Retrieves the error message.

    표 1. Parameters
    Name Type Description
    None
    표 2. Returns
    Type Description
    String The error message
    var ae = new AutomationException("This is an error message");
    gs.print(ae.getMessage());
    Output:
    This is an error message