GnuSmalltalkUsersGuide:BaseChapter 166

From 흡혈양파의 번역工房
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
SystemExceptions.IndexOutOfRange

SystemExceptions.IndexOutOfRange

네임스페이스 Smalltalk.SystemExceptions에 정의됨

슈퍼클래스: SystemExceptions.ArgumentOutOfRange

범주: 언어-예외


나는 누군가 유효 범위를 벗어난 색인으로 accessor 메서드를 호출할 때 발생한다.


SystemExceptions.IndexOutOfRange 클래스: 시그널링하기

signalOn: aCollection withIndex: value

주어진 색인이 aCollection 내 범위에 있지 않았다.


SystemExceptions.IndexOutOfRange: 접근하기

collection

오류를 트리거한 컬렉션을 응답하라.

collection: anObject

오류를 트리거한 컬렉션을 설정하라.

description

예외의 텍스트 설명을 응답하라.

messageText

오류의 메시지 텍스트를 응답하라.


Notes