home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Puzzle / filler.swf / scripts / mx / collections / errors / ItemPendingError.as
Encoding:
Text File  |  2008-09-02  |  739 b   |  36 lines

  1. package mx.collections.errors
  2. {
  3.    import mx.core.mx_internal;
  4.    import mx.rpc.IResponder;
  5.    
  6.    use namespace mx_internal;
  7.    
  8.    public class ItemPendingError extends Error
  9.    {
  10.       
  11.       mx_internal static const VERSION:String = "2.0.1.0";
  12.        
  13.       
  14.       private var _responders:Array;
  15.       
  16.       public function ItemPendingError(param1:String)
  17.       {
  18.          super(param1);
  19.       }
  20.       
  21.       public function addResponder(param1:IResponder) : void
  22.       {
  23.          if(!_responders)
  24.          {
  25.             _responders = [];
  26.          }
  27.          _responders.push(param1);
  28.       }
  29.       
  30.       public function get responders() : Array
  31.       {
  32.          return _responders;
  33.       }
  34.    }
  35. }
  36.