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

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

Language Version : | ActionScript 3.0

Product Versions : | BlazeDS 4, LCDS 3

Runtime Versions : | Flash Player 9, AIR 1.1

This error is thrown when a Channel can't be accessed or is not valid for the current destination. This error is thrown by the following methods/properties within the framework:

- `ServerConfig.getChannel()` if the channel can't be found based on channel id.

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

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

Constructor Detail

InvalidChannelError | () | Constructor

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

Parameters

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

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