topical media & game development

talk show tell print

lib-flex-animation-code-10-org-as3lib-errors-AbstractError.ax

lib-flex-animation-code-10-org-as3lib-errors-AbstractError.ax (swf ) [ flash ] flex


  package org.as3lib.errors
  {        
          
An error class used to ensure the correct behavior of asbsract classes.
author: Mims Wright

  
          public class @ax-lib-flex-animation-code-10-org-as3lib-errors-AbstractError extends Error
          {
                  
Use this error in the constructor for your abstract class.

  
                  public static const CONSTRUCTOR_ERROR:String = "ERROR: An abstract class may not be instantiated.";
                  
                  
Use this error in abstract methods that should be overridden in your abstract class.

  
                  public static const METHOD_ERROR:String = "ERROR: Failed to implement an abstract method.";
                  
                  
                  public function @ax-lib-flex-animation-code-10-org-as3lib-errors-AbstractError(message:String="", id:int=0)
                  {   
                          super(message, id);
                  }
          }
  }


(C) Æliens 19/08/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.