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

Package | mx.messaging.errors
Class | public class ChannelError
Inheritance | ChannelError MessagingError Error
Subclasses | InvalidChannelError, InvalidDestinationError

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 channel related errors. It allows for less granular catch code.

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

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

Constructor Detail

ChannelError | () | Constructor

`public function ChannelError(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 ChannelError with the specified message.

Parameters

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

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