home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Puzzle / Clusterz / Clusterz.swf / scripts / it / gotoandplay / smartfoxserver / json / JSONParseError.as < prev    next >
Encoding:
Text File  |  2008-09-12  |  592 b   |  29 lines

  1. package it.gotoandplay.smartfoxserver.json
  2. {
  3.    public class JSONParseError extends Error
  4.    {
  5.        
  6.       
  7.       private var _text:String;
  8.       
  9.       private var _location:int;
  10.       
  11.       public function JSONParseError(param1:String = "", param2:int = 0, param3:String = "")
  12.       {
  13.          super(param1);
  14.          _location = param2;
  15.          _text = param3;
  16.       }
  17.       
  18.       public function get text() : String
  19.       {
  20.          return _text;
  21.       }
  22.       
  23.       public function get location() : int
  24.       {
  25.          return _location;
  26.       }
  27.    }
  28. }
  29.