Apache Flex 4.16.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
MessageSerializationError

Package | mx.messaging.errors
Class | public class MessageSerializationError
Inheritance | MessageSerializationError MessagingError Error

Language Version : | ActionScript 3.0

Product Versions : | BlazeDS 4, LCDS 3

Runtime Versions : | Flash Player 9, AIR 1.1

This error indicates a problem serializing a message within a channel. It provides a fault property which corresponds to an ErrorMessage generated when this error is thrown.

Public Properties

| Property | Defined By
--- | --- | ---
|  | fault : ErrorMessage Provides specific information about the fault that occurred and for which message. | MessageSerializationError

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | MessageSerializationError(msg:String, fault:ErrorMessage) Constructs a new instance of the MessageSerializationError with the specified message. | MessageSerializationError
|  | toString():String Returns the string "[MessagingError]" by default, and includes the message property if defined. | MessagingError

Property Detail

fault | property

`public var fault:ErrorMessage`

Language Version : | ActionScript 3.0

Product Versions : | BlazeDS 4, LCDS 3

Runtime Versions : | Flash Player 9, AIR 1.1

Provides specific information about the fault that occurred and for which message.

Constructor Detail

MessageSerializationError | () | Constructor

`public function MessageSerializationError(msg:String, fault:ErrorMessage)`

Language Version : | ActionScript 3.0

Product Versions : | BlazeDS 4, LCDS 3

Runtime Versions : | Flash Player 9, AIR 1.1

Constructs a new instance of the MessageSerializationError with the specified message.

Parameters

| `msg:String` — String that contains the message that describes the error.
| `fault:ErrorMessage` — Provides specific information about the fault that occured and for which message.

Sun Mar 5 2017, 03:42 PM +11:00