| Package | 톱 레벨 |
| Class | public dynamic class ReferenceError |
| Inheritance | ReferenceError Error Object |
다만, 다이나믹 클래스의 미정도리의 property를 참조할 수 있습니다. 이 경우, ReferenceError 예외는 슬로우 되지 않습니다. 상세한 것에 대하여는,dynamic 키워드를 참조해 주세요.
See also
| Methods | 정의 | ||
|---|---|---|---|
| ReferenceError (message:String = "")
새로운 ReferenceError object를 작성합니다.
| ReferenceError | ||
![]() | getStackTrace ():String
에러의 구축시에 에러의 호출 스택을 string로 돌려줍니다 (디버거 버젼의 Flash Player 전용).
| Error | |
![]() | hasOwnProperty (name:String ):Boolean
object로 지정된 property가 정의되고 있는지 어떤지를 나타냅니다.
| Object | |
![]() | isPrototypeOf (theClass:Object ):Boolean
Object 클래스의 인스턴스가, Parameters로서 지정된 object의 prototype 체인내에 있을지 어떨지를 나타냅니다.
| Object | |
![]() | propertyIsEnumerable (name:String ):Boolean
지정된 property가 존재해, 열거 가능한가 어떤가를 나타냅니다.
| Object | |
![]() | setPropertyIsEnumerable (name:String , isEnum:Boolean = true):void
루프 처리에 대한 다이나믹 property의 가용성을 설정합니다.
| Object | |
![]() | toString ():String
디폴트에서는
"Error" 라고 하는 string를 돌려줍니다. Error.message property가 정의되고 있는 경우는, 그 값을 돌려줍니다. | Error | |
![]() | valueOf ():Object
지정된 object의 원시적치를 돌려줍니다.
| Object | |
| ReferenceError | () | constructor |
public 함수 ReferenceError(message:String = "")새로운 ReferenceError object를 작성합니다.
Parametersmessage:String (default = "") — ReferenceError object에 관련지을 수 있었던 메세지입니다.
|
See also
ReferenceError 예외가
try..catch 명령문(statement)내에서 어떻게 생성되어 처리되는지를 나타내고 있습니다.
package {
import flash.display.Sprite;
public class ReferenceErrorExample extends Sprite {
public function ReferenceErrorExample() {
try {
this["someMember"] = true;
}
catch(e:ReferenceError) {
trace(e);
}
}
}
}