home *** CD-ROM | disk | FTP | other *** search
/ Computer Active 2010 August / CA08.iso / Multimedija / shufflr.air / ShufflrClient.swf / scripts / com / adobe / serialization / json / JSONParseError.as < prev    next >
Encoding:
Text File  |  2010-06-23  |  626 b   |  29 lines

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