티스토리 뷰
Delphi
EListError = class(Exception);
C++
class PASCALIMPLEMENTATION EListError : public System::Sysutils::Exception
Properties
Type |
Visibility |
Source |
Unit |
Parent |
class |
public |
System.Classes.pas System.Classes.hpp |
Description
EListError is the exception class for list and string errors.
EListError is raised when an error is made in a list, TStrings, or TStringList object.
This exception commonly occurs when an application refers to an item that is out of the list's range.
EListError also occurs if an application tries to add a duplicate string to a TStringList object when the value of the Duplicates property is dupError.
An EListError exception is raised when an application attempts to insert a string into a sorted string list, since the insertion of a string at a specified position may put the list out of order.
EListError는 리스트 및 문자열 오류에 대한 예외 클래스입니다.
EListError는 리스트, TStrings 또는 TStringList 객체에서 오류가 발생하면 발생합니다.
이 예외는 보통 응용 프로그램이 리스트 범위를 벗어난 항목을 참조 할 때 발생합니다.
EListError는 Duplicates 속성 값이 dupError 일 때 응용 프로그램이 TStringList 객체에 중복 문자열을 추가하려고 시도하는 경우에도 발생합니다.
EListError 예외는 응용 프로그램이 정렬된 문자열 리스트에 문자열을 삽입하려고 시도 할 때 발생합니다. 특정 위치에 문자열을 삽입하면 리스트가 순서에 맞지 않을 수 있기 때문입니다.
Example
var TmpList: TList; begin TmpList := TList.Create(); try TmpList.Add(nil); TmpList.Items[0];
// 예외 발생 // Exception class EListError with message 'List index out of bounds (1)'. TmpList.Items[1]; finally TmpList.Free(); end; end. |
commonly 미국식 [|kɑ:mənli] 흔히, 보통 common 미국식 [|kɑ:mən] 1. 흔한 occur (occurs) 미국·영국 [ə|k3:(r)] 1. 일어나다, 발생하다 attempt 미국·영국 [ə|tempt] 1. (특히 힘든 일에 대한) 시도 insertion 미국식 [ɪn|s3:rʃn] 1. 삽입,
끼워 넣기 since 미국·영국 [sɪns] 1. …부터 out of order 미국식 1. 고장난 |
출처: http://docwiki.embarcadero.com/Libraries/XE2/en/System.Classes.EListError
'프로그래밍 언어 > Delphi' 카테고리의 다른 글
[Reference] System.SysUtils.AssignStr (0) | 2017.04.21 |
---|---|
[Reference] System.SysUtils.RPR (0) | 2017.04.20 |
[Reference] System.SysUtils.ReplaceTime (0) | 2017.04.18 |
[Reference] System.SysUtils.AnsiDequotedStr (0) | 2017.04.17 |
[Reference] System.SysUtils.StrToTimeDef (0) | 2017.04.16 |
- Total
- Today
- Yesterday
- 스택
- 응용
- System
- SysUtils
- Reference
- 왕초보 영어회화 100일의 기적
- 작문
- SWT
- ADODB
- Pte
- 여행영어 100일의 기적
- 교육센터
- 독해
- VCL
- java
- 알고리즘
- 설명
- wfd
- 일기
- RA
- 문법
- 말하기
- 계산기
- 정렬
- 영어
- 자료구조
- Delphi
- 대상
- 상황
- tdataset
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |