AutomationException - 전역

  • 릴리스 버전: Washingtondc
  • 업데이트 날짜 2024년 02월 01일
  • 읽기1분
  • AutomationException API는 자동화를 위한 일반 예외 래핑을 제공합니다.

    이를 자동화 코드에 포함시켜 오류 처리를 구현합니다.

    AutomationException - getMessage()

    오류 메시지를 검색합니다.

    표 1. 매개변수
    이름 유형 설명
    없음
    표 2. 반환
    유형 설명
    문자열 오류 메시지
    var ae = new AutomationException("This is an error message");
    gs.print(ae.getMessage());

    출력: 오류 메시지입니다.