Paket | mx.messaging.events |
Klass | public class MessageFaultEvent |
Arv | MessageFaultEvent Event Object |
Språkversion: | ActionScript 3.0 |
Produktversioner: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Egenskap | Definieras med | ||
---|---|---|---|
bubbles : Boolean [skrivskyddad]
indikerar om händelsen är en bubblande händelse. | Event | ||
cancelable : Boolean [skrivskyddad]
Indikerar om beteendet som är kopplat till händelsen kan förhindras. | Event | ||
constructor : Object
En referens till klassobjektet eller konstruktorfunktionen för en given objektinstans. | Object | ||
currentTarget : Object [skrivskyddad]
Det objekt som aktivt behandlar Event-objektet med en händelseavlyssnare. | Event | ||
eventPhase : uint [skrivskyddad]
Den nuvarande fasen i händelseflödet. | Event | ||
faultCode : String [skrivskyddad]
Provides access to the destination specific failure code. | MessageFaultEvent | ||
faultDetail : String [skrivskyddad]
Provides destination specific details of the failure. | MessageFaultEvent | ||
faultString : String [skrivskyddad]
Provides access to the destination specific reason for the failure. | MessageFaultEvent | ||
message : ErrorMessage
The ErrorMessage for this event. | MessageFaultEvent | ||
rootCause : Object [skrivskyddad]
Provides access to the root cause of the failure, if one exists. | MessageFaultEvent | ||
target : Object [skrivskyddad]
Händelsens mål. | Event | ||
type : String [skrivskyddad]
Händelsens typ. | Event |
Metod | Definieras med | ||
---|---|---|---|
MessageFaultEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, message:ErrorMessage = null)
Constructs an instance of a fault message event for the specified message
and fault information. | MessageFaultEvent | ||
[åsidosätt]
Clones the MessageFaultEvent. | MessageFaultEvent | ||
[statisk]
Utility method to create a new MessageFaultEvent that doesn't bubble and
is not cancelable. | MessageFaultEvent | ||
Ett verktyg som används för att implementera metoden toString() i de anpassade klasserna ActionScript 3.0. | Event | ||
Anger om det finns en egenskap angiven för ett objekt. | Object | ||
Kontrollerar om preventDefault()-metoden har anropats för händelsen. | Event | ||
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | Object | ||
Avbryter en händelses standardbeteende om det beteendet kan avbrytas. | Event | ||
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | ||
Anger tillgänglighet för en dynamisk egenskap för slingåtgärder. | Object | ||
Förhindrar behandling av händelsehanterare i den aktuella noden och alla noder som följer den aktuella noden i händelseflödet. | Event | ||
Förhindrar behandling av händelsehanterare i noder som följer den aktuella noden i händelseflödet. | Event | ||
Returnerar det här objektets strängrepresentation, formaterad i enlighet med språkspecifika konventioner. | Object | ||
[åsidosätt]
Returns a string representation of the MessageFaultEvent. | MessageFaultEvent | ||
Returnerar det angivna objektets primitiva värde. | Object |
Konstant | Definieras med | ||
---|---|---|---|
FAULT : String = "fault" [statisk]
The FAULT event type; dispatched for a message fault. | MessageFaultEvent |
faultCode | egenskap |
faultCode:String
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversioner: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Provides access to the destination specific failure code.
For more specific details see faultString
and
faultDetails
properties.
The format of the fault codes are provided by the remote destination,
but, will typically have the following form: host.operation.error
For example, "Server.Connect.Failed"
Implementering
public function get faultCode():String
Relaterade API-element
faultDetail | egenskap |
faultDetail:String
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversioner: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Provides destination specific details of the failure.
Typically fault details are a stack trace of an exception thrown at the remote destination.
Implementering
public function get faultDetail():String
Relaterade API-element
faultString | egenskap |
faultString:String
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversioner: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Provides access to the destination specific reason for the failure.
Implementering
public function get faultString():String
Relaterade API-element
message | egenskap |
public var message:ErrorMessage
Språkversion: | ActionScript 3.0 |
Produktversioner: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
The ErrorMessage for this event.
rootCause | egenskap |
rootCause:Object
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversioner: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Provides access to the root cause of the failure, if one exists. In the case of custom exceptions thrown by a destination, the root cause represents the top level failure that is merely transported by the ErrorMessage.
Implementering
public function get rootCause():Object
Relaterade API-element
MessageFaultEvent | () | Konstruktor |
public function MessageFaultEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, message:ErrorMessage = null)
Språkversion: | ActionScript 3.0 |
Produktversioner: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Constructs an instance of a fault message event for the specified message and fault information.
Parametrartype:String — The type for the MessageAckEvent.
| |
bubbles:Boolean (default = false ) — Specifies whether the event can bubble up the display
list hierarchy.
| |
cancelable:Boolean (default = false ) — Indicates whether the behavior associated with the
event can be prevented.
| |
message:ErrorMessage (default = null ) — The ErrorMessage associated with the fault.
|
clone | () | metod |
createEvent | () | metod |
public static function createEvent(msg:ErrorMessage):MessageFaultEvent
Språkversion: | ActionScript 3.0 |
Produktversioner: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Utility method to create a new MessageFaultEvent that doesn't bubble and is not cancelable.
Parametrar
msg:ErrorMessage — The ErrorMessage associated with the fault.
|
MessageFaultEvent — New MessageFaultEvent.
|
toString | () | metod |
override public function toString():String
Språkversion: | ActionScript 3.0 |
Produktversioner: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Returns a string representation of the MessageFaultEvent.
ReturnerarString — String representation of the MessageFaultEvent.
|
FAULT | Konstant |
public static const FAULT:String = "fault"
Språkversion: | ActionScript 3.0 |
Produktversioner: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
The FAULT event type; dispatched for a message fault.
The value of this constant is "fault"
.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget . |
faultCode | Provides destination-specific details of the failure. |
faultDetail | Provides access to the destination-specific reason for the failure. |
faultString | Provides access to the underlying reason for the failure if the channel did not raise the failure itself. |
message | The ErrorMessage for this event. |
rootCause | Provides access to the underlying reason for the failure, if one exists. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
Tue Jun 12 2018, 01:40 PM Z