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

Package | mx.messaging.errors
Class | public class MessagingError
Inheritance | MessagingError Error
Subclasses | ChannelError, MessageSerializationError, NoChannelAvailableError

Language Version : | ActionScript 3.0

Product Versions : | BlazeDS 4, LCDS 3

Runtime Versions : | Flash Player 9, AIR 1.1

This is the base class for any messaging related error. It allows for less granular catch code.

Public Methods

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

Constructor Detail

MessagingError | () | Constructor

`public function MessagingError(msg:String)`

Language Version : | ActionScript 3.0

Product Versions : | BlazeDS 4, LCDS 3

Runtime Versions : | Flash Player 9, AIR 1.1

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

Parameters

| `msg:String` — String that contains the message that describes the error.

Method Detail

toString | () | method

`public function toString():String`

Language Version : | ActionScript 3.0

Product Versions : | BlazeDS 4, LCDS 3

Runtime Versions : | Flash Player 9, AIR 1.1

Returns the string "[MessagingError]" by default, and includes the message property if defined.

Returns

| `String` — String representation of the MessagingError.

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