PhidgetError

Error
PhidgetError

Phidget exceptions.

Most functions can throw an exception under the right (or wrong) circumstances.  See the Product and Programming manuals for more details.

The error codes that can show up are documented in Constants.

Summary
PhidgetErrorPhidget exceptions.
Functions
PhidgetErrorCreates a new PhidgetError object
setMessageSets the error message for an exception.

Functions

PhidgetError

public function PhidgetError(errorID: int,  
message: String = null)

Creates a new PhidgetError object

Parameters

errorIDerror code
messageerror message

setMessage

public function setMessage(message: String):void

Sets the error message for an exception.

Parameters

messageerror messag
public function PhidgetError(errorID: int,  
message: String = null)
Creates a new PhidgetError object
public function setMessage(message: String):void
Sets the error message for an exception.
Close