Packageorg.as3lib.errors
Classpublic class AbstractError
InheritanceAbstractError Inheritance Error

An error class used to ensure the correct behavior of asbsract classes.



Public Methods
 MethodDefined by
  
AbstractError(message:String = "", id:int = 0)
AbstractError
Public Constants
 ConstantDefined by
  CONSTRUCTOR_ERROR : String = "ERROR: An abstract class may not be instantiated."
[static] Use this error in the constructor for your abstract class.
AbstractError
  METHOD_ERROR : String = "ERROR: Failed to implement an abstract method."
[static] Use this error in abstract methods that should be overridden in your abstract class.
AbstractError
Constructor detail
AbstractError()constructor
public function AbstractError(message:String = "", id:int = 0)Parameters
message:String (default = "")
 
id:int (default = 0)
Constant detail
CONSTRUCTOR_ERRORconstant
public static const CONSTRUCTOR_ERROR:String = "ERROR: An abstract class may not be instantiated."

Use this error in the constructor for your abstract class.

METHOD_ERRORconstant 
public static const METHOD_ERROR:String = "ERROR: Failed to implement an abstract method."

Use this error in abstract methods that should be overridden in your abstract class.