This page was saved using jaction on 2006-09-04 8:33:40.
Address: http://flexdocs.kr/docs/flex2/langref/mx/messaging/messages/ErrorMessage.html
Title: mx.messaging.messages.ErrorMessage (Flex™ 2 레퍼런스 가이드)  •  Size: 35183
(Flex Data Services 전용)
Packagemx.messaging.messages
Classpublic class ErrorMessage
InheritanceErrorMessage Inheritance AcknowledgeMessage Inheritance AsyncMessage Inheritance AbstractMessage Inheritance Object
SubclassesDataErrorMessage

ErrorMessage 클래스는, 메시징 시스템내에서 에러를 보고할 때 사용됩니다. 에러 메세지는, 시스템 내부에서 송신된 메세지에만 응답해 생성됩니다.



Public property
 property정의
 Inheritedbody : Object
메세지의 본문에는, 리모트 행선지에 전달할 필요가 있는 특정의 데이터가 포함됩니다.
AbstractMessage
 InheritedclientId : String
clientId 는, 메세지를 송신한 MessageAgent 를 나타냅니다.
AbstractMessage
 Inheritedconstructor : Object
특정의 object 인스턴스의 클래스 object 또는 constructor    함수에의 참조입니다.
Object
 InheritedcorrelationId : String
메세지의 상관 ID 에의 액세스를 제공합니다.
AsyncMessage
 Inheriteddestination : String
메세지의 행선지.
AbstractMessage
  extendedData : Object
클라이언트에서의 custom 에러 처리를 용이하게 하기 위해서, 리모트 행선지에서 이 에러에 관련지은 확장 데이터.
ErrorMessage
  faultCode : String
에러에 대응하는 fault 코드입니다.
ErrorMessage
  faultDetail : String
에러의 원인에 대한 자세한 설명.
ErrorMessage
  faultString : String
에러에 대한 간단한 설명.
ErrorMessage
 Inheritedheaders : Object
메세지의 헤더는, 키가 헤더명, 값이 헤더치로서 포함되는 결합 배열입니다.
AbstractMessage
 InheritedmessageId : String
메세지 고유의 ID.
AbstractMessage
 Inheritedprototype : Object
[static] 클래스 또는 함수 object의 prototype object에의 참조입니다.
Object
  rootCause : Object
에러의 근본적인 원인이 있는 경우는, 이 property에 그 상세가 포함됩니다.
ErrorMessage
 Inheritedtimestamp : Number
메세지의 일시 스탬프에의 액세스를 제공합니다.
AbstractMessage
 InheritedtimeToLive : Number
메세지의 유효기간의 값은, 메세지가 유효해 전달 가능하다라고 보여지는 기간을 나타냅니다.
AbstractMessage
Public Methods
 Methods정의
  ErrorMessage ()
ErrorMessage 인스턴스를 작성합니다.
ErrorMessage
 InheritedhasOwnProperty (name:String ):Boolean
object로 지정된 property가 정의되고 있는지 어떤지를 나타냅니다.
Object
 InheritedisPrototypeOf (theClass:Object ):Boolean
Object 클래스의 인스턴스가, Parameters로서 지정된 object의 prototype 체인내에 있을지 어떨지를 나타냅니다.
Object
 InheritedpropertyIsEnumerable (name:String ):Boolean
지정된 property가 존재해, 열거 가능한가 어떤가를 나타냅니다.
Object
 InheritedsetPropertyIsEnumerable (name:String , isEnum:Boolean = true):void
루프 처리에 대한 다이나믹 property의 가용성을 설정합니다.
Object
 InheritedtoString ():String
메세지의 string 표현을 돌려줍니다.
AbstractMessage
 InheritedvalueOf ():Object
지정된 object의 원시적치를 돌려줍니다.
Object
Public 정수
 정수정의
 InheritedDESTINATION_CLIENT_ID_HEADER : String = "DSDstClientId"
[static] 서버로부터 푸쉬 된 메세지가 배치로서 도착했을 때, 그 배치내의 메세지가 복수의 다른 컨슈머(consumer) 인스턴스를 타겟으로 하고 있을 가능성이 있습니다.
AbstractMessage
 InheritedENDPOINT_HEADER : String = "DSEndpoint"
[static] 메세지에는, 메세지가 송신되는 채널의 엔드 포인트 ID 의 태그가 부여됩니다.
AbstractMessage
 InheritedERROR_HINT_HEADER : String = "DSErrorHint"
[static] 에러 힌트 헤더의 헤더명.
AcknowledgeMessage
  MESSAGE_DELIVERY_IN_DOUBT : String = "Client.Error.DeliveryInDoubt"
[static] 메세지가 전달되어 있지 않은 경우는,faultCode 에 이 정수가 포함됩니다.
ErrorMessage
 InheritedREMOTE_CREDENTIALS_HEADER : String = "DSRemoteCredentials"
[static] 행선지의 리모트 증명서를 설정할 필요가 있는 메세지는, 이 헤더내에 Base64 encode 된 자격 정보를 보관 유지합니다.
AbstractMessage
 InheritedREQUEST_TIMEOUT_HEADER : String = "DSRequestTimeout"
[static] 이 헤더는, 요구 타임 아웃을 정의해 송신되는 메세지에 사용됩니다.
AbstractMessage
  RETRYABLE_HINT_HEADER : String = "DSRetryableErrorHint"
[static] 재시행 가능 힌트 헤더의 헤더명.
ErrorMessage
 InheritedSUBTOPIC_HEADER : String = "DSSubtopic"
[static] subtopic property가 정의된 MessageAgent 로부터 송신된 메세지에서는, 메세지의 타겟이 되는 서브 주제가 이 헤더내에 나타납니다.
AsyncMessage
property의 상세
extendedDataproperty
public var extendedData:Object

클라이언트에서의 custom 에러 처리를 용이하게 하기 위해서, 리모트 행선지에서 이 에러에 관련지은 확장 데이터.

faultCodeproperty 
public var faultCode:String

에러에 대응하는 fault 코드입니다. 이 값은 통상, 표기 "[outer_context]. [inner_context]. [issue]" 에 따릅니다. 다음에 예를 나타냅니다. "Channel.Connect.Failed","Server.Call.Failed" 등.

faultDetailproperty 
public var faultDetail:String

에러의 원인에 대한 자세한 설명. 이것은 통상, 리모트 행선지로부터의 스택 트레이스입니다.

faultStringproperty 
public var faultString:String

에러에 대한 간단한 설명.

rootCauseproperty 
public var rootCause:Object

에러의 근본적인 원인이 있는 경우는, 이 property에 그 상세가 포함됩니다. 이것은 ErrorMessage, NetStatusEvent 정보 object, 또는 기본으로 되는 Flash 에러 event (ErrorEvent, IOErrorEvent, 또는 SecurityErrorEvent)의 경우가 있습니다.

constructor    의 상세
ErrorMessage()constructor   
public 함수 ErrorMessage()

ErrorMessage 인스턴스를 작성합니다.

정수의 상세
MESSAGE_DELIVERY_IN_DOUBT정수
public static const MESSAGE_DELIVERY_IN_DOUBT:String = "Client.Error.DeliveryInDoubt"

메세지가 전달되어 있지 않은 경우는,faultCode 에 이 정수가 포함됩니다.

RETRYABLE_HINT_HEADER정수 
public static const RETRYABLE_HINT_HEADER:String = "DSRetryableErrorHint"

재시행 가능 힌트 헤더의 헤더명. 이것은, 에러가 발생한 조작이 값명적인 것은 아니고, 재시행 가능한 것을 나타내기 위해서(때문에) 사용됩니다.







 

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

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