NoRoomJoinedException

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.NoRoomJoinedException
File last modified:Wednesday, 04 May 2011, 17:35:56
A RedBox exception.

Summary


Constructor
  • NoRoomJoinedException (message:String)
    • Thrown when a the AVCastManager.publishLiveCast method is called before joining a Room.

Constructor

NoRoomJoinedException

public function NoRoomJoinedException (
message:String)

Thrown when a the AVCastManager.publishLiveCast method is called before joining a Room.
Parameters:
message:
the error message.
Example:
  • The following example shows how to handle the "NoRoomJoinedException" exception.
    try
    {
        avCastMan.publishLiveCast();
    }
    catch (err:NoRoomJoinedException)
    {
        trace (err.message);
    }