SQLError 클래스는 Adobe AIR 로컬 SQL 데이터베이스를 사용할 때 발생할 수 있는 다양한 오류를 나타냅니다. 모든 예외에 대해 SQLError 인스턴스에는 영어 오류 메시지가 들어 있는 details 속성이 있습니다. 또한 각 오류 메시지에 연결된 고유 식별자를 SQLError 객체의 detailID 속성을 통해 사용할 수 있습니다. 응용 프로그램에서는 detailID 속성을 사용하여 특정 details 오류 메시지를 식별할 수 있습니다. 그런 다음 최종 사용자의 로캘 언어로 대체 텍스트를 제공할 수 있습니다. detailArguments 배열의 인수 값을 오류 메시지 문자열에서 적절한 위치에 대체할 수 있습니다. 이 기능은 응용 프로그램에서 해당 오류의 details 속성 오류 메시지를 최종 사용자에게 특정 로캘로 직접 표시하려는 경우에 유용합니다.

다음 표에는 detailID 값과 연결된 영어 오류 메시지 텍스트의 목록이 들어 있습니다. 메시지의 자리 표시자 텍스트는 런타임에서 detailArguments 값을 대체하는 위치를 나타냅니다. 이 목록을 소스로 사용하여 SQL 데이터베이스 작업 시 발생할 수 있는 오류 메시지를 지역화할 수 있습니다.

,
SQLError detailID 자세한 영어 오류 메시지 및 매개 변수
1001 Connection closed.(연결이 닫혔습니다.)
1002 Database must be open to perform this operation.(이 작업을 수행하려면 데이터베이스가 열려 있어야 합니다.)
1003 %s [,|and %s] parameter name(s) found in parameters property but not in the SQL specified.(%s [|및 %s] 매개 변수 이름이 매개 변수 속성에 있지만 지정된 SQL에는 없습니다.)
1004 Mismatch in parameter count.(매개 변수 개수가 일치하지 않습니다.) Found %d in SQL specified and %d value(s) set in parameters property.(지정된 SQL에는 %d개가 있는데 매개 변수 속성에는 값 %d개가 설정되어 있습니다.)
Expecting values for %s [,|and %s].(%s [|및 %s]에 값이 필요합니다.)
1005 Auto compact could not be turned on.(자동 압축을 사용할 수 없습니다.)
1006 The pageSize value could not be set.(pageSize 값을 설정할 수 없습니다.)
1007 The schema object with name '%s' of type '%s' in database '%s' was not found.(스키마 객체(이름: '%s', 유형: '%s', 데이터베이스: '%s')를 찾을 수 없습니다.)
1008 The schema object with name '%s' in database '%s' was not found.(스키마 객체(이름: '%s', 데이터베이스: '%s')를 찾을 수 없습니다.)
1009 No schema objects with type '%s' in database '%s' were found.(유형이 '%s'인 스키마 객체를 데이터베이스 '%s'에서 찾을 수 없습니다.)
1010 No schema objects in database '%s' were found.(데이터베이스 '%s'에 스키마 객체가 없습니다.)
2001 parser stack overflow(파서 스택 오버플로)
2002 too many arguments on function '%s'('%s' 함수에 인수가 너무 많습니다.)
2003 near '%s': syntax error('%s' 근처: 구문 오류)
2004 there is already another table or index with this name: '%s'(이름이 '%s'인 테이블이나 인덱스가 이미 있습니다.)
2005 PRAGMA is not allowed in SQL.(SQL에서 PRAGMA를 사용할 수 없습니다.)
2006 not a writable directory(쓰기 가능한 디렉토리가 아닙니다.)
2007 unknown or unsupported join type: '%s %s %s'(알 수 없거나 지원되지 않는 조인 유형: '%s %s %s')
2008 RIGHT and FULL OUTER JOINs are not currently supported(RIGHT 및 FULL OUTER JOIN은 현재 지원되지 않습니다.)
2009 a NATURAL join may not have an ON or USING clause(NATURAL 조인에는 ON 또는 USING 절이 있을 수 없습니다.)
2010 cannot have both ON and USING clauses in the same join(같은 조인에 ON과 USING 절이 모두 있을 수 없습니다.)
2011 cannot join using column '%s' - column not present in both tables('%s' 열을 사용하여 조인할 수 없습니다. 두 테이블 중 최소한 하나에 해당 열이 없습니다.)
2012 only a single result allowed for a SELECT that is part of an expression(표현식의 일부인 SELECT에는 결과가 하나만 허용됩니다.)
2013 no such table: '[%s.]%s'('[%s.]%s' 테이블이 없습니다.)
2014 no tables specified(테이블이 지정되지 않았습니다.)
2015 too many columns in result set|too many columns on '%s'(결과 집합에 열이 너무 많습니다.|'%s'에 열이 너무 많습니다.)
2016 %s ORDER|GROUP BY term out of range - should be between 1 and(ORDER|GROUP BY 항목이 범위를 벗어납니다. 1에서 %d 사이여야 합니다.) %d
2017 too many terms in ORDER BY clause(ORDER BY 절에 항목이 너무 많습니다.)
2018 %s ORDER BY term out of range - should be between 1 and(ORDER BY 항목이 범위를 벗어납니다. 1에서 %d 사이여야 합니다.) %d
2019 %r ORDER BY term does not match any column in the result set(%r ORDER BY 항목이 결과 집합의 어떠한 열과도 일치하지 않습니다.)
2020 ORDER BY clause should come after '%s' not before(ORDER BY 절은 '%s'보다 앞이 아닌 뒤에 나와야 합니다.)
2021 LIMIT clause should come after '%s' not before(LIMIT 절은 '%s'보다 앞이 아닌 뒤에 나와야 합니다.)
2022 SELECTs to the left and right of '%s' do not have the same number of result columns('%s'의 왼쪽과 오른쪽에 있는 SELECT에서 결과 열 수가 다릅니다.)
2023 a GROUP BY clause is required before HAVING(HAVING 앞에 GROUP BY 절이 필요합니다.)
2024 aggregate functions are not allowed in the GROUP BY clause(GROUP BY 절에는 집계 함수를 사용할 수 없습니다.)
2025 DISTINCT in aggregate must be followed by an expression(집계에서 DISTINCT 뒤에 표현식이 나와야 합니다.)
2026 too many terms in compound SELECT(복합 SELECT에 항목이 너무 많습니다.)
2027 too many terms in ORDER|GROUP BY clause(ORDER|GROUP BY 절에 항목이 너무 많습니다.)
2028 temporary trigger may not have qualified name(임시 트리거는 정규화된 이름을 가질 수 없습니다.)
2030 trigger '%s' already exists('%s' 트리거가 이미 있습니다.)
2032 cannot create BEFORE|AFTER trigger on view: '%s'('%s' 뷰에 BEFORE|AFTER 트리거를 만들 수 없습니다.)
2033 cannot create INSTEAD OF trigger on table: '%s'('%s' 테이블에 INSTEAD OF 트리거를 만들 수 없습니다.)
2034 no such trigger: '%s'('%s' 트리거가 없습니다.)
2035 recursive triggers not supported ('%s')(재귀 트리거('%s')는 지원되지 않습니다.)
2036 no such column: %s[.%s[.%s]](%s[.%s[.%s]] 열이 없습니다.)
2037 VACUUM is not allowed from SQL.(SQL에서 VACUUM을 사용할 수 없습니다.)
2043 table '%s': indexing function returned an invalid plan(테이블 '%s': 인덱싱 함수에서 잘못된 계획을 반환했습니다.)
2044 at most %d tables in a join(조인의 테이블은 최대 %d개입니다.)
2046 Cannot add a PRIMARY KEY column(PRIMARY KEY 열을 추가할 수 없습니다.)
2047 Cannot add a UNIQUE column(UNIQUE 열을 추가할 수 없습니다.)
2048 Cannot add a NOT NULL column with default value NULL(기본값이 NULL인 NOT NULL 열을 추가할 수 없습니다.)
2049 Cannot add a column with non-constant default(기본값이 상수가 아닌 열을 추가할 수 없습니다.)
2050 Cannot add a column to a view(뷰에 열을 추가할 수 없습니다.)
2051 ANALYZE is not allowed in SQL.(SQL에서 ANALYZE를 사용할 수 없습니다.)
2052 invalid name: '%s'(잘못된 이름: '%s')
2053 ATTACH is not allowed from SQL.(SQL에서 ATTACH를 사용할 수 없습니다.)
2054 %s '%s' cannot reference objects in database '%s'(%s '%s'에서 '%s' 데이터베이스의 객체를 참조할 수 없습니다.)
2055 access to '[%s.]%s.%s' is prohibited('[%s.]%s.%s'에 대한 액세스가 금지되었습니다.)
2056 not authorized(권한이 없습니다.)
2058 no such view: '[%s.]%s'('[%s.]%s' 뷰가 없습니다.)
2060 temporary table name must be unqualified(임시 테이블 이름은 정규화되지 않아야 합니다.)
2061 table '%s' already exists('%s' 테이블이 이미 있습니다.)
2062 there is already an index named: '%s'(이름이 '%s'인 인덱스가 이미 있습니다.)
2064 duplicate column name: '%s'(중복된 열 이름: '%s')
2065 table '%s' has more than one primary key(테이블 '%s'에 기본 키가 둘 이상 있습니다.)
2066 AUTOINCREMENT is only allowed on an INTEGER PRIMARY KEY(AUTOINCREMENT는 INTEGER PRIMARY KEY에만 사용할 수 있습니다.)
2067 no such collation sequence: '%s'('%s' 데이터 정렬 시퀀스가 없습니다.)
2068 parameters are not allowed in views(뷰에서 매개 변수를 사용할 수 없습니다.)
2069 view '%s' is circularly defined('%s' 뷰가 순환 정의되었습니다.)
2070 table '%s' may not be dropped('%s' 테이블을 삭제할 수 없습니다.)
2071 use DROP VIEW to delete view '%s'(DROP VIEW를 사용하여 '%s' 뷰를 삭제해야 합니다.)
2072 use DROP TABLE to delete table '%s'(DROP TABLE을 사용하여 '%s' 테이블을 삭제해야 합니다.)
2073 foreign key on '%s' should reference only one column of table '%s'('%s'의 외래 키는 '%s' 테이블의 열 중 하나만 참조해야 합니다.)
2074 number of columns in foreign key does not match the number of columns in the referenced table(외래 키의 열 수가 참조된 테이블의 열 수와 일치하지 않습니다.)
2075 unknown column '%s' in foreign key definition(외래 키 정의에서는 알 수 없는 '%s' 열입니다.)
2076 table '%s' may not be indexed('%s' 테이블을 인덱싱할 수 없습니다.)
2077 views may not be indexed(뷰를 인덱싱할 수 없습니다.)
2080 conflicting ON CONFLICT clauses specified(충돌하는 ON CONFLICT 절이 지정되었습니다.)
2081 no such index: '%s'('%s' 인덱스가 없습니다.)
2082 index associated with UNIQUE or PRIMARY KEY constraint cannot be dropped(UNIQUE 또는 PRIMARY KEY 제약 조건이 연결된 인덱스를 삭제할 수 없습니다.)
2083 BEGIN is not allowed in SQL.(SQL에서 BEGIN을 사용할 수 없습니다.)
2084 COMMIT is not allowed in SQL.(SQL에서 COMMIT을 사용할 수 없습니다.)
2085 ROLLBACK is not allowed in SQL.(SQL에서 ROLLBACK을 사용할 수 없습니다.)
2086 unable to open a temporary database file for storing temporary tables(임시 테이블을 저장하는 임시 데이터베이스 파일을 열 수 없습니다.)
2087 unable to identify the object to be reindexed(다시 인덱싱할 객체를 식별할 수 없습니다.)
2088 table '%s' may not be modified('%s' 테이블을 수정할 수 없습니다.)
2089 cannot modify '%s' because it is a view('%s'은(는) 뷰이므로 수정할 수 없습니다.)
2090 variable number must be between ?0 and ?%d(변수 번호는 ?0에서 ?%d 사이여야 합니다.)
2091 too many SQL variables(SQL 변수가 너무 많습니다.)
2092 misuse of aliased aggregate '%s'(앨리어스된 집계 '%s'을(를) 잘못 사용했습니다.)
2093 ambiguous column name: '[%s.[%s.]]%s'(모호한 열 이름: '[%s.[%s.]]%s')
2094 no such function: '%s'('%s' 함수가 없습니다.)
2095 wrong number of arguments to function '%s'('%s' 함수에 대한 인수 개수가 잘못되었습니다.)
2096 subqueries prohibited in CHECK constraints(CHECK 제약 조건에 하위 쿼리를 사용할 수 없습니다.)
2097 parameters prohibited in CHECK constraints(CHECK 제약 조건에 매개 변수를 사용할 수 없습니다.)
2098 Expression tree is too large (maximum depth %d)(표현식 트리가 너무 큽니다(최대 깊이 %d).)
2099 RAISE() may only be used within a trigger-program(RAISE()는 트리거 프로그램 내에서만 사용할 수 있습니다.)
2100 table '%s' has %d columns but %d values were supplied('%s' 테이블에 열이 %d개 있지만 값이 %d개 제공되었습니다.)
2101 database schema is locked: '%s'('%s' 데이터베이스 스키마가 잠겼습니다.)
2102 statement too long(명령문이 너무 깁니다.)
2103 Unable to delete/modify collation sequence due to active statements(활성 명령문으로 인해 데이터 정렬 시퀀스를 삭제/수정할 수 없습니다.)
2104 too many attached databases - max %d(연결된 데이터베이스가 너무 많습니다(최대 %d개).)
2105 cannot ATTACH database within transaction(트랜잭션 내에서 데이터베이스를 ATTACH할 수 없습니다.)
2106 database '%s' is already in use('%s' 데이터베이스가 이미 사용 중입니다.)
2108 attached databases must use the same text encoding as main database(연결된 데이터베이스에서는 주 데이터베이스와 같은 텍스트 인코딩을 사용해야 합니다.)
2200 out of memory(메모리가 부족합니다.)
2201 unable to open database(데이터베이스를 열 수 없습니다.)
2202 cannot DETACH database within transaction(트랜잭션 내에서 데이터베이스를 DETACH할 수 없습니다.)
2203 cannot detach database: '%s'('%s' 데이터베이스를 분리할 수 없습니다.)
2204 database '%s' is locked('%s' 데이터베이스가 잠겼습니다.)
2205 Unable to acquire a read lock on the database(데이터베이스에 대한 읽기 잠금을 수행할 수 없습니다.)
2206 [column|columns] '%s'[,'%s'] are not [unique|is] not unique('%s'[,'%s'] [열]이 고유하지 않습니다.)
2207 malformed database schema(데이터베이스 스키마의 형식이 잘못되었습니다.)
2208 unsupported file format(지원되지 않는 파일 형식입니다.)
2209 unrecognized token: '%s'(인식할 수 없는 토큰: '%s')
2300 could not convert text value to numeric value.(텍스트 값을 숫자 값으로 변환할 수 없습니다.)
2301 could not convert string value to date(문자열 값을 날짜로 변환할 수 없습니다.)
2302 could not convert floating point value to integer without loss of data.(부동 소수점 값을 데이터 손실 없이 정수로 변환할 수 없습니다.)
2303 cannot rollback transaction - SQL statements in progress(트랜잭션을 롤백할 수 없습니다. SQL 명령문이 실행 중입니다.)
2304 cannot commit transaction - SQL statements in progress(트랜잭션을 커밋할 수 없습니다. SQL 명령문이 실행 중입니다.)
2305 database table is locked: '%s'('%s' 데이터베이스 테이블이 잠겼습니다.)
2306 read-only table(읽기 전용 테이블입니다.)
2307 string or blob too big(문자열 또는 BLOB이 너무 큽니다.)
2309 cannot open indexed column for writing(인덱싱된 열을 쓰기용으로 열 수 없습니다.)
2400 cannot open value of type %s(%s 유형의 값을 열 수 없습니다.)
2401 no such rowid: %s(%s rowid가 없습니다.)
2402 object name reserved for internal use: '%s'('%s' 객체 이름은 내부적으로 사용하도록 예약되었습니다.)
2403 view '%s' may not be altered('%s' 뷰를 변경할 수 없습니다.)
2404 default value of column '%s' is not constant('%s' 열의 기본값이 상수가 아닙니다.)
2405 not authorized to use function '%s'('%s' 함수를 사용할 권한이 없습니다.)
2406 misuse of aggregate function '%s'('%s' 집계 함수를 잘못 사용했습니다.)
2407 misuse of aggregate: '%s'('%s' 집계를 잘못 사용했습니다.)
2408 no such database: '%s'('%s' 데이터베이스가 없습니다.)
2409 table '%s' has no column named '%s'('%s' 테이블에 이름이 '%s'인 열이 없습니다.)
2501 no such module: %s(%s 모듈이 없습니다.)