InvalidParamsException
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.InvalidParamsException |
File last modified: | Wednesday, 04 May 2011, 17:31:58 |
A RedBox exception.
Summary
Constructor
- InvalidParamsException (message:String)
- Thrown when invalid parameters are passed to specific RedBox classes methods.
Constructor
InvalidParamsException
public function InvalidParamsException (
message:String)
Thrown when invalid parameters are passed to specific RedBox classes methods.
This exception is raised when both enableCamera and enableMicrophone parameters are passed as
This exception is raised when both enableCamera and enableMicrophone parameters are passed as
false
to a method involving a camera and/or microphone output stream to be published (live or recorded). Parameters:
message:
the error message.
Example:
- The following example shows how to handle the "InvalidParamsException" exception.
try { avClipMan.startClipRecording(false, false); } catch (err:InvalidParamsException) { trace (err.message); }