This page was saved using jaction on 2006-09-04 8:33:54.
Address: http://flexdocs.kr/docs/flex2/langref/mx/messaging/events/MessageFaultEvent.html
Title: mx.messaging.events.MessageFaultEvent (Flex™ 2 레퍼런스 가이드)  •  Size: 56658
(Flex Data Services 전용)
Packagemx.messaging.events
Classpublic class MessageFaultEvent
InheritanceMessageFaultEvent Inheritance Event Inheritance Object

MessageFaultEvent 클래스는, 메시징 시스템내에서 fault 메세지를 전달할 경우에 사용됩니다.



Public property
 property정의
 Inheritedbubbles : Boolean
이벤트가 바브 링 이벤트인가 어떤가를 나타냅니다.
Event
 Inheritedcancelable : Boolean
이벤트에 관련지을 수 있었던 행동을 회피할 수 있을지 어떨지를 나타냅니다.
Event
 Inheritedconstructor : Object
특정의 object 인스턴스의 클래스 object 또는 constructor    함수에의 참조입니다.
Object
 InheritedcurrentTarget : Object
event listener로 Event object를 액티브하게 처리하고 있는 object입니다.
Event
 InheritedeventPhase : uint
event 플로우(flow)의 현재의 단계입니다.
Event
  faultCode : String
[read-only] 행선지 고유의 fault 코드에의 액세스를 제공합니다.
MessageFaultEvent
  faultDetail : String
[read-only] 실패에 관한 행선지 고유의 상세를 제공합니다.
MessageFaultEvent
  faultString : String
[read-only] 행선지 고유의 fault의 이유에의 액세스를 제공합니다.
MessageFaultEvent
  message : ErrorMessage
이 이벤트의 ErrorMessage.
MessageFaultEvent
 Inheritedprototype : Object
[static] 클래스 또는 함수 object의 prototype object에의 참조입니다.
Object
  rootCause : Object
[read-only] fault의 근본적인 이유가 있는 경우는, 그 이유에의 액세스를 제공합니다.
MessageFaultEvent
 Inheritedtarget : Object
event 타겟입니다.
Event
 Inheritedtype : String
이벤트의 형태입니다.
Event
Public Methods
 Methods정의
  MessageFaultEvent (type:String , bubbles:Boolean = false, cancelable:Boolean = false, message:ErrorMessage = null)
지정된 메세지 및 fault 정보에 대한 fault 메세지 이벤트의 인스턴스를 작성합니다.
MessageFaultEvent
  clone ():Event
MessageFaultEvent 의 클론을 작성합니다.
MessageFaultEvent
  createEvent (msg:ErrorMessage ):MessageFaultEvent
[static] 바브 링 되지 않고 캔슬할 수 없는 새로운 MessageFaultEvent 를 작성하기 위한 유틸리티 Methods입니다.
MessageFaultEvent
 InheritedformatToString (className:String , ... arguments):String
custom Event 클래스에 toString() Methods를 Implements하기 위한 유틸리티 함수입니다.
Event
 InheritedhasOwnProperty (name:String ):Boolean
object로 지정된 property가 정의되고 있는지 어떤지를 나타냅니다.
Object
 InheritedisDefaultPrevented ():Boolean
이벤트로 preventDefault() 가 불려 갔는지 어떠했는지를 체크합니다.
Event
 InheritedisPrototypeOf (theClass:Object ):Boolean
Object 클래스의 인스턴스가, Parameters로서 지정된 object의 prototype 체인내에 있을지 어떨지를 나타냅니다.
Object
 InheritedpreventDefault ():void
이벤트의 디폴트 행동을 캔슬할 수 있는 경우에, 그 행동을 캔슬합니다.
Event
 InheritedpropertyIsEnumerable (name:String ):Boolean
지정된 property가 존재해, 열거 가능한가 어떤가를 나타냅니다.
Object
 InheritedsetPropertyIsEnumerable (name:String , isEnum:Boolean = true):void
루프 처리에 대한 다이나믹 property의 가용성을 설정합니다.
Object
 InheritedstopImmediatePropagation ():void
event 플로우(flow)의 현재의 노드 및 후속 하는 노드로, event listener가 처리되지 않게 합니다.
Event
 InheritedstopPropagation ():void
event 플로우(flow)의 현재의 노드에 후속 하는 노드로, event listener가 처리되지 않게 합니다.
Event
  toString ():String
MessageFaultEvent 의 string 표현을 돌려줍니다.
MessageFaultEvent
 InheritedvalueOf ():Object
지정된 object의 원시적치를 돌려줍니다.
Object
Public 정수
 정수정의
 InheritedACTIVATE : String = "activate"
[static] activate event object의 type property의 값을 정의합니다.
Event
 InheritedADDED : String = "added"
[static] added event object의 type property의 값을 정의합니다.
Event
 InheritedCANCEL : String = "cancel"
[static] cancelevent object의 type property의 값을 정의합니다.
Event
 InheritedCHANGE : String = "change"
[static] change event object의 type property의 값을 정의합니다.
Event
 InheritedCLOSE : String = "close"
[static] close event object의 type property의 값을 정의합니다.
Event
 InheritedCOMPLETE : String = "complete"
[static] complete event object의 type property의 값을 정의합니다.
Event
 InheritedCONNECT : String = "connect"
[static] connect event object의 type property의 값을 정의합니다.
Event
 InheritedDEACTIVATE : String = "deactivate"
[static] deactivate event object의 type property의 값을 정의합니다.
Event
 InheritedENTER_FRAME : String = "enterFrame"
[static] enterFrame event object의 type property의 값을 정의합니다.
Event
  FAULT : String = "fault"
[static] FAULT 이벤트형. 메세지 fault의 발생시에 dispatch됩니다.
MessageFaultEvent
 InheritedID3 : String = "id3"
[static] id3 event object의 type property의 값을 정의합니다.
Event
 InheritedINIT : String = "init"
[static] init event object의 type property의 값을 정의합니다.
Event
 InheritedMOUSE_LEAVE : String = "mouseLeave"
[static] mouseLeave event object의 type property의 값을 정의합니다.
Event
 InheritedOPEN : String = "open"
[static] open event object의 type property의 값을 정의합니다.
Event
 InheritedREMOVED : String = "removed"
[static] removed event object의 type property의 값을 정의합니다.
Event
 InheritedRENDER : String = "render"
[static] render event object의 type property의 값을 정의합니다.
Event
 InheritedRESIZE : String = "resize"
[static] resize event object의 type property의 값을 정의합니다.
Event
 InheritedSCROLL : String = "scroll"
[static] scroll event object의 type property의 값을 정의합니다.
Event
 InheritedSELECT : String = "select"
[static] select event object의 type property의 값을 정의합니다.
Event
 InheritedSOUND_COMPLETE : String = "soundComplete"
[static] soundComplete event object의 type property의 값을 정의합니다.
Event
 InheritedTAB_CHILDREN_CHANGE : String = "tabChildrenChange"
[static] tabChildrenChange event object의 type property의 값을 정의합니다.
Event
 InheritedTAB_ENABLED_CHANGE : String = "tabEnabledChange"
[static] tabEnabledChange event object의 type property의 값을 정의합니다.
Event
 InheritedTAB_INDEX_CHANGE : String = "tabIndexChange"
[static] tabIndexChange event object의 type property의 값을 정의합니다.
Event
 InheritedUNLOAD : String = "unload"
[static] unload event object의 type property의 값을 정의합니다.
Event
property의 상세
faultCodeproperty
faultCode:String   [read-only]

행선지 고유의 fault 코드에의 액세스를 제공합니다. 상세한 것에 대하여는,faultStringfaultDetails property를 참조해 주세요.

포르코드의 형식은 리모트 행선지로부터 제공됩니다만, 통상은 이하의 형식이 됩니다. host.operation.error (예 : "Server.Connect.Failed")

Implements
    public function get faultCode():String

See also

faultDetailproperty 
faultDetail:String   [read-only]

실패에 관한 행선지 고유의 상세를 제공합니다.

통상, fault의 상세 정보는 리모트 행선지에서 슬로우 된 예외의 스택 트레이스입니다.

Implements
    public function get faultDetail():String

See also

faultStringproperty 
faultString:String   [read-only]

행선지 고유의 fault의 이유에의 액세스를 제공합니다.

Implements
    public function get faultString():String

See also

messageproperty 
public var message:ErrorMessage

이 이벤트의 ErrorMessage.

rootCauseproperty 
rootCause:Object   [read-only]

fault의 근본적인 이유가 있는 경우는, 그 이유에의 액세스를 제공합니다. 행선지에 의해 슬로우 된 custom 예외의 경우, 근본적인 이유는 단지 ErrorMessage 로 전달되는 최상정도의 fault를 나타냅니다.

Implements
    public function get rootCause():Object

See also

constructor    의 상세
MessageFaultEvent()constructor   
public 함수 MessageFaultEvent(type:String , bubbles:Boolean = false, cancelable:Boolean = false, message:ErrorMessage = null)

지정된 메세지 및 fault 정보에 대한 fault 메세지 이벤트의 인스턴스를 작성합니다.

Parameters
type:String — MessageAckEvent 의 타입.
 
bubbles:Boolean (default = false) — 이벤트가 표시 리스트 계층을 윗쪽에 버블 할 수 있을지 어떨지를 지정합니다.
 
cancelable:Boolean (default = false) — 이벤트에 관련지을 수 있었던 행동을 회피할 수 있을지 어떨지를 나타냅니다.
 
message:ErrorMessage (default = null) — fault에 관련지을 수 있었던 ErrorMessage.
Methods의 상세
clone()Methods
public override function clone():Event

MessageFaultEvent 의 클론을 작성합니다.

반환값
Event — MessageFaultEvent 의 복사.
createEvent()Methods 
public static function createEvent(msg:ErrorMessage ):MessageFaultEvent

바브 링 되지 않고 캔슬할 수 없는 새로운 MessageFaultEvent 를 작성하기 위한 유틸리티 Methods입니다.

Parameters
msg:ErrorMessage — fault에 관련지을 수 있었던 ErrorMessage.

반환값
MessageFaultEvent — 새로운 MessageFaultEvent.
toString()Methods 
public override function toString():String

MessageFaultEvent 의 string 표현을 돌려줍니다.

반환값
String — MessageFaultEvent 의 string 표현입니다.
정수의 상세
FAULT정수
public static const FAULT:String = "fault"

FAULT 이벤트형. 메세지 fault의 발생시에 dispatch됩니다.

이 정수의 값은 "fault" 입니다.

event object의 각 property에는 다음의 값이 설정됩니다.

PropertyValue
bubblesfalse
cancelablefalse
currentTarget이벤트를 처리하는 event listener를 정의하는 object. 예를 들어, event listener의 등록에 myButton.addEventListener() 를 사용하면,currentTarget 의 값은 "myButton" 가 됩니다.
faultCode실패에 관한 행선지 고유의 상세를 제공합니다.
faultDetail실패의 행선지 고유의 이유에의 액세스를 제공합니다.
faultString채널 자체가 fault를 생성하지 않았던 경우는, fault의 근본적인 이유에의 액세스를 제공합니다.
message이 이벤트의 ErrorMessage.
rootCause 실패의 근본적인 이유에의 액세스를 제공합니다 (존재하는 경우).
target이벤트를 dispatch한 object를 나타냅니다. 이 object는 반드시 이벤트를 받는 object라고는 할 수 없습니다. 이벤트를 받는 object에 항상 액세스 하려면 ,currentTarget property를 사용해 주세요.






 

코멘트가 추가되었을 경우, 메일로 받기. | 코멘트 리포트

현재의 페이지: http://flexdocs.kr/docs/flex2/langref/mx/messaging/events/MessageFaultEvent.html