티스토리 뷰

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

System.Classes

System.Classes

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 객체에서 오류가 발생하면 발생합니다.

이 예외는 보통 응용 프로그램이 리스트 범위를 벗어난 항목을 참조 할 때 발생합니다.

EListErrorDuplicates 속성 값이 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]   영국식 [|kɒmənli]   중요

흔히, 보통

common 미국식 [|kɑ:mən]   영국식 [|kɒmən]   중요

1. 흔한
2.
공동의, 공통의
3.
보통의, 평범한

occur (occurs) 미국·영국 [ə|k3:(r)]   영국식   중요

1. 일어나다, 발생하다
2. (
어디에) 존재하다

attempt 미국·영국 [ə|tempt]   영국식   중요

1. (특히 힘든 일에 대한) 시도
2.
살해기도
3. (
스포츠에서 더 좋은 기록을 내기 위한) 시도

insertion 미국식 [ɪn|s3:rʃn]   영국식 [ɪn|s3:ʃn]   중요

1. 삽입, 끼워 넣기
2. (
책・글 등에 덧붙이는) 첨가()

since 미국·영국 [sɪns]   영국식   중요

1. …부터
2. (
화가 나서 하는 말로) 언제부터 (…했다고 그래)?
3.
…한 이후로, …한 때로부터, …한 지

out of order 미국식 

1. 고장난
2.
정리가 안 된[어지러운]
3. (
행동이) 제멋대로인[도리를 벗어난]

 

출처: http://docwiki.embarcadero.com/Libraries/XE2/en/System.Classes.EListError

댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/05   »
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 29 30 31
글 보관함