Packagevegas.errors
Classpublic class ClassCastError
InheritanceClassCastError Inheritance Error

Thrown to indicate that the code has attempted to cast an object to a subclass of which it is not an instance.



Public Methods
 MethodDefined by
  
ClassCastError(message:String = "", id:int = 0)
Creates a new ClassCastError instance.
ClassCastError
Constructor detail
ClassCastError()constructor
public function ClassCastError(message:String = "", id:int = 0)

Creates a new ClassCastError instance.

Parameters
message:String (default = "") — A string associated with the ClassCastError object ; this parameter is optional.
 
id:int (default = 0) — A reference number to associate with the specific error message.