NoAVConnectionException

Kind of class:public class
Package:com.smartfoxserver.v2.redbox.exceptions
Inherits from:Error
Author:The gotoAndPlay() Team
http://www.smartfoxserver.com
Classpath:com.smartfoxserver.v2.redbox.exceptions.NoAVConnectionException
File last modified:Wednesday, 04 May 2011, 17:32:31
A RedBox exception.

Summary


Constructor

Constructor

NoAVConnectionException

public function NoAVConnectionException (
message:String)

Thrown when the connection to Red5 is not available.
This exception is raised when a RedBox method is called which requires a connection to Red5, but this is not currently available.
Parameters:
message:
the error message.
Example:
  • The following example shows how to handle the "NoAVConnectionException" exception.
    try
    {
        avClipMan.getStream();
    }
    catch (err:NoAVConnectionException)
    {
        trace (err.message);
    }