---
sourceDocument: 호주 API 참조
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/ko-KR/api-reference

 Release :

    - australia

ft:locale :

    - ko-KR

ft:publication_title :

    - 호주 API 참조

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# AutomationException - 전역

# AutomationException - 전역 {#ariaid-title1}

* 릴리스 버전: Australia
* 
* 업데이트 날짜 2026년 03월 12일
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 소요 시간: 1분

AutomationException 스크립트 포함은 자동화에 대한 일반 예외 래핑을 제공합니다.

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

## 자동화 예외 - getMessage() {#ariaid-title2}

오류 메시지를 조회합니다.
{#r_AE-getMessage__table_ncs_dzc_pt__entry__3}

| 이름 | 유형 | 설명 |
|-|-|-|
| 안 함 |   |   |
[표 1. 매개변수]

{#r_AE-getMessage__table_ncs_dzc_pt} {#r_AE-getMessage__table_ocs_dzc_pt__entry__2}

| 유형 | 설명 |
|-|-|
| 문자열 | 오류 메시지 |
[표 2. 반환]

{#r_AE-getMessage__table_ocs_dzc_pt}  

    var ae = new AutomationException("This is an error message");
    gs.print(ae.getMessage());

출력:

    This is an error message


