AutomationException - Global

  • Versão de lançamento: Australia
  • Atualizado 12 de mar. de 2026
  • 1 min. de leitura
  • 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.

    Tabela 1. Parameters
    Name Type Description
    None
    Tabela 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