GnuSmalltalkUsersGuide:BaseChapter 184

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.SecurityError

SystemExceptions.SecurityError

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

슈퍼클래스: SystemExceptions.VMError

범주: 언어-예외


나는 신뢰할 수 없는 객체가 불안정한 연산의 실행을 시도할 때 발생하는 오류다.


SystemExceptions.SecurityError 클래스: 접근하기

signal: aPermission

예외를 발생시키고, aPermission는 테스트를 거쳤으며 실패한 권한으로 설정하라.


SystemExceptions.SecurityError: 접근하기

description

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

failedPermission

테스트를 거치고 실패한 권한을 응답하라.

failedPermission: anObject

테스트를 거치고 실패한 권한을 설정하라.


Notes