/resources/ErrorConstants.xml
XML | 673 lines | 555 code | 100 blank | 18 comment | 0 complexity | 7ecb8d53f7f8e4ad8e4c34d613f47fa0 MD5 | raw file
1<?xml version='1.0' encoding='utf-8' standalone='no' ?> 2<!-- -*- Mode: xml; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 4 -*- --> 3<!-- vi: set ts=4 sw=4 expandtab: (add to ~/.vimrc: set modeline modelines=5) --> 4<!-- This Source Code Form is subject to the terms of the Mozilla Public 5 - License, v. 2.0. If a copy of the MPL was not distributed with this 6 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> 7 8<errors> This table contains all of the error messages generated by core 9 avmplus. This will likely be replaced by a resource table 10 for easy localization. 11 %o = ScriptObject* 12 %t = Traits* 13 %m = MethodInfo* 14 %n = Multiname (name portion only) 15 %N = Multiname (namespace portion only) 16 %a = Atom 17 %d = int 18 %f = double 19 %S = Stringp 20 %s = char* 21 22 <error id="1000" label="kOutOfMemoryError">The system is out of memory. 23<description><![CDATA[ 24 Flash Player needs more memory to compile your code than your system has available. 25 Close some of the applications or processes running on your system. 26 ]]></description></error> 27 28 <error id="1001" label="kNotImplementedError">The method %1 is not implemented.</error> 29 <error id="1002" label="kInvalidPrecisionError">Number.toPrecision has a range of 1 to 21. Number.toFixed and Number.toExponential have a range of 0 to 20. Specified value is not within expected range. 30<description><![CDATA[ 31 You specified a value that is not within the expected range of the <code>precision</code> argument. Number.toPrecision has a range of 1 to 21. Number.toFixed and Number.toExponential have a range of 0 to 20. 32 ]]></description></error> 33 34 <error id="1003" label="kInvalidRadixError">The radix argument must be between 2 and 36; got %1. 35 <description><![CDATA[ 36 You passed a value less than 2 or greater than 36 for the <code>radix</code> argument of a method or property. 37 Pass a value between 2 and 36 as a <code>radix</code> argument. 38 ]]></description> </error> 39 <error id="1004" label="kInvokeOnIncompatibleObjectError">Method %1 was invoked on an incompatible object. 40<description><![CDATA[ 41 You tried to call a method that is not available to the specified object. This error occurs when 42 you have copied a prototype function from one object to another, and then invoked it, but the 43 target object is not the same type as the original object. Ensure that the target object and 44 original object are the same type. See the ECMAScript Language Specification, 3rd Edition, Chapter 15 for more details. 45 ]]></description></error> 46 47 <!-- ISSUE jsshell reports "invalid array length" --> 48<error id="1005" label="kArrayIndexNotIntegerError">Array index is not a positive integer (%1). 49<description><![CDATA[ 50 You tried to access a member of an array using an index value that is not a positive integer. Pass only positive integers as index values for arrays. 51 ]]></description></error> 52 53 54<error id="1006" label="kCallOfNonFunctionError">%1 is not a function. 55<description><![CDATA[ 56 This error occurs when you attempt to call a function that does not exist. 57 Make sure you are calling the correct function, and that the API has 58 not changed from ActionScript 2.0. Also, make sure you are using the correct 59 object. For example, you will see this error when you use the following code 60 (because the last line mistakenly calls the variable <code>big</code> instead 61 of <code>blg</code>): 62 63 <pre><code>var blg:String = "foo"; 64var big:Sprite = new Sprite(); 65var error:int = big.length(); </code></pre> 66 ]]></description></error> 67 <error id="1007" label="kConstructOfNonFunctionError">Instantiation attempted on a non-constructor.</error> 68 <error id="1008" label="kAmbiguousBindingError">%1 is ambiguous; Found more than one matching binding.</error> 69 <error id="1009" label="kConvertNullToObjectError">Cannot access a property or method of a null object reference. 70<description><![CDATA[ 71 An object that evaluates to <code>null</code> can have no properties. This error can occur in some unexpected 72 (though valid) situations. For example, consider the following code, which creates a Sprite 73 object. Because this Sprite object is never added to the display list (through the 74 <code>addChild()</code> method of a DisplayObjectContainer object), its <code>stage</code> 75 property is set to <code>null</code>. Thus, the example generates this error because Sprite object's <code>stage</code> property 76 cannot have any properties: 77 78 <pre><code>import flash.display.Sprite; 79var sprite1:Sprite = new Sprite(); 80var q:String = sprite1.stage.quality;</code></pre> 81 ]]></description></error> 82 83 <error id="1010" label="kConvertUndefinedToObjectError">A term is undefined and has no properties. 84<description><![CDATA[ 85 This error can occur if you try to access a property of an object that does not exist. For example: 86 <pre><code>var obj:Object = new Object(); 87obj.a = "foo"; 88trace(obj.b.prop);</code></pre> 89 90 <p>You can also see this error because of a misspelling, for example in the following, where 91 <code>mc</code> represents a MovieClip object in the display list, and the <code>stage</code> 92 property is misspelled with a capital S (it should be <code>stage</code>):</p> 93 94 <pre><code>trace(mc.Stage.quality);</code></pre> 95 96 97 ]]></description></error> 98 <error id="1011" label="kIllegalOpcodeError">Method %1 contained illegal opcode %2 at offset %3. 99<description><![CDATA[ 100 See the <a href="#note">note</a> at the bottom of this table.* 101 ]]></description></error> 102 103 <error id="1012" label="kLastInstExceedsCodeSizeError">The last instruction exceeded code size. 104<description><![CDATA[ 105 See the <a href="#note">note</a> at the bottom of this table.* 106 ]]></description></error> 107 108 <error id="1013" label="kFindVarWithNoScopeError">Cannot call OP_findproperty when scopeDepth is 0. 109<description><![CDATA[ 110 See the <a href="#note">note</a> at the bottom of this table.* 111 ]]></description></error> 112 113 <error id="1014" label="kClassNotFoundError">Class %1 could not be found.</error> 114 <error id="1015" label="kIllegalSetDxns">Method %1 cannot set default xml namespace 115<description><![CDATA[ 116 See the <a href="#note">note</a> at the bottom of this table.* 117 ]]></description></error> 118 119 <error id="1016" label="kDescendentsError">Descendants operator (..) not supported on type %1.</error> 120 <error id="1017" label="kScopeStackOverflowError">Scope stack overflow occurred. 121<description><![CDATA[ 122 See the <a href="#note">note</a> at the bottom of this table.* 123 ]]></description></error> 124 125 <error id="1018" label="kScopeStackUnderflowError">Scope stack underflow occurred. 126<description><![CDATA[ 127 See the <a href="#note">note</a> at the bottom of this table.* 128 ]]></description></error> 129 130 <error id="1019" label="kGetScopeObjectBoundsError">Getscopeobject %1 is out of bounds. 131<description><![CDATA[ 132 See the <a href="#note">note</a> at the bottom of this table.* 133 ]]></description></error> 134 <error id="1020" label="kCannotFallOffMethodError">Code cannot fall off the end of a method. 135<description><![CDATA[ 136 See the <a href="#note">note</a> at the bottom of this table.* 137 ]]></description></error> 138 139 <error id="1021" label="kInvalidBranchTargetError">At least one branch target was not on a valid instruction in the method. 140<description><![CDATA[ 141 See the <a href="#note">note</a> at the bottom of this table.* 142 ]]></description></error> 143 144 <error id="1022" label="kIllegalVoidError">Type void may only be used as a function return type. 145<description><![CDATA[ 146 See the <a href="#note">note</a> at the bottom of this table.* 147 ]]></description></error> 148 149 <error id="1023" label="kStackOverflowError">Stack overflow occurred. 150<description><![CDATA[ 151 See the <a href="#note">note</a> at the bottom of this table.* 152 ]]></description></error> 153 154 <error id="1024" label="kStackUnderflowError">Stack underflow occurred. 155<description><![CDATA[ 156 See the <a href="#note">note</a> at the bottom of this table.* 157 ]]></description></error> 158 159 <error id="1025" label="kInvalidRegisterError">An invalid register %1 was accessed. 160<description><![CDATA[ 161 See the <a href="#note">note</a> at the bottom of this table.* 162 ]]></description></error> 163 164 <error id="1026" label="kSlotExceedsCountError">Slot %1 exceeds slotCount=%2 of %3. 165<description><![CDATA[ 166 See the <a href="#note">note</a> at the bottom of this table.* 167 ]]></description></error> 168 169 <error id="1027" label="kMethodInfoExceedsCountError">Method_info %1 exceeds method_count=%2. 170<description><![CDATA[ 171 See the <a href="#note">note</a> at the bottom of this table.* 172 ]]></description></error> 173 174 <error id="1028" label="kDispIdExceedsCountError">Disp_id %1 exceeds max_disp_id=%2 of %3. 175<description><![CDATA[ 176 See the <a href="#note">note</a> at the bottom of this table.* 177 ]]></description></error> 178 179 <error id="1029" label="kDispIdUndefinedError">Disp_id %1 is undefined on %2. 180<description><![CDATA[ 181 See the <a href="#note">note</a> at the bottom of this table.* 182 ]]></description></error> 183 184 <error id="1030" label="kStackDepthUnbalancedError">Stack depth is unbalanced. %1 != %2. 185<description><![CDATA[ 186 See the <a href="#note">note</a> at the bottom of this table.* 187 ]]></description></error> 188 189 <error id="1031" label="kScopeDepthUnbalancedError">Scope depth is unbalanced. %1 != %2. 190<description><![CDATA[ 191 See the <a href="#note">note</a> at the bottom of this table.* 192 ]]></description></error> 193 194 <error id="1032" label="kCpoolIndexRangeError">Cpool index %1 is out of range %2. 195<description><![CDATA[ 196 See the <a href="#note">note</a> at the bottom of this table.* 197 ]]></description></error> 198 199 <error id="1033" label="kCpoolEntryWrongTypeError">Cpool entry %1 is wrong type. 200<description><![CDATA[ 201 See the <a href="#note">note</a> at the bottom of this table.* 202 ]]></description></error> 203 204 <error id="1034" label="kCheckTypeFailedError">Type Coercion failed: cannot convert %1 to %2.</error> 205 206 <error id="1035" label="kIllegalSuperCallError">Illegal super expression found in method %1. 207<description><![CDATA[ 208 See the <a href="#note">note</a> at the bottom of this table.* 209 ]]></description></error> 210 211 <!-- <error id="1036" label="kUncaughtExceptionWarning">The VM exited due to an uncaught exception.</error> --> 212 213 <error id="1037" label="kCannotAssignToMethodError">Cannot assign to a method %1 on %2. 214<description><![CDATA[ 215 See the <a href="#note">note</a> at the bottom of this table.* 216 ]]></description></error> 217 218 219<error id="1038" label="kRedefinedError">%1 is already defined. 220<description><![CDATA[ 221 You cannot declare a variable or function with the same identifier name more than once 222 within the same scope. 223 In ActionScript 3.0, different code blocks (such as those used in two <code>for</code> loops 224 in the same <code>function</code> definition) are considered to be in the same scope. 225 See the <a href="#note">note</a> at the bottom of this table.* 226 ]]></description></error> 227 228 <error id="1039" label="kCannotVerifyUntilReferencedError">Cannot verify method until it is referenced. 229<description><![CDATA[ 230 See the <a href="#note">note</a> at the bottom of this table.* 231 ]]></description></error> 232 233 <error id="1040" label="kCantUseInstanceofOnNonObjectError">The right-hand side of instanceof must be a class or function. 234<description><![CDATA[ 235 The expression on the right side of the <code>instanceof</code> operator must be a class or function. 236 ]]></description></error> 237 <error id="1041" label="kIsTypeMustBeClassError">The right-hand side of operator must be a class. 238<description><![CDATA[ 239 The expression on the right side of the <code>is</code> operator must be a class. 240 ]]></description></error> 241 <error id="1042" label="kInvalidMagicError">Not an ABC file. major_version=%1 minor_version=%2. 242<description><![CDATA[ 243You are attempting to use an invalid file with the player: the tool that generates the SWF may be out of date or the SWF itself may be corrupt. 244 ]]></description></error> 245 <error id="1043" label="kInvalidCodeLengthError">Invalid code_length=%1. 246<description><![CDATA[ 247 See the <a href="#note">note</a> at the bottom of this table.* 248 ]]></description></error> 249 250 <error id="1044" label="kInvalidMethodInfoFlagsError">MethodInfo-%1 unsupported flags=%2. 251<description><![CDATA[ 252 See the <a href="#note">note</a> at the bottom of this table.* 253 ]]></description></error> 254 255 256 <error id="1045" label="kUnsupportedTraitsKindError">Unsupported traits kind=%1. 257<description><![CDATA[ 258 See the <a href="#note">note</a> at the bottom of this table.* 259 ]]></description></error> 260 261 <error id="1046" label="kMethodInfoOrderError">MethodInfo-%1 referenced before definition. 262<description><![CDATA[ 263 See the <a href="#note">note</a> at the bottom of this table.* 264 ]]></description></error> 265 266 <error id="1047" label="kMissingEntryPointError">No entry point was found. 267<description><![CDATA[ 268 See the <a href="#note">note</a> at the bottom of this table.* 269 ]]></description></error> 270 <!--<error id="1048" label="kNativeMethodNotFoundError">Native method not found: %a.</error>--> 271 272 <error id="1049" label="kPrototypeTypeError">Prototype objects must be vanilla Objects. 273<description><![CDATA[ 274 See the <a href="#note">note</a> at the bottom of this table.* 275 ]]></description></error> 276 277 <error id="1050" label="kConvertToPrimitiveError">Cannot convert %1 to primitive. 278<description><![CDATA[ 279 See the <a href="#note">note</a> at the bottom of this table.* 280 ]]></description></error> 281 282 <error id="1051" label="kIllegalEarlyBindingError">Illegal early binding access to %1. 283<description><![CDATA[ 284 See the <a href="#note">note</a> at the bottom of this table.* 285 ]]></description></error> 286 287 <error id="1052" label="kInvalidURIError">Invalid URI passed to %1 function. 288<description><![CDATA[ 289 See the <a href="#note">note</a> at the bottom of this table.* 290 ]]></description></error> 291 292 <error id="1053" label="kIllegalOverrideError">Illegal override of %1 in %2. 293<description><![CDATA[ 294 See the <a href="#note">note</a> at the bottom of this table.* 295 ]]></description></error> 296 297 <error id="1054" label="kIllegalExceptionHandlerError">Illegal range or target offsets in exception handler. 298<description><![CDATA[ 299 See the <a href="#note">note</a> at the bottom of this table.* 300 ]]></description></error> 301 <!-- obsolete 302 <error id="1055" label="kHasNoPropertiesTypeError">%S has no properties</error> 303 --> 304 <error id="1056" label="kWriteSealedError">Cannot create property %1 on %2. 305<description><![CDATA[ 306 You are trying to assign a value to a nonexistent property on an instance of a non-dynamic 307 class. This is only possible for instances of dynamic classes]]></description></error> 308 309 <error id="1057" label="kIllegalSlotError">%1 can only contain methods. 310<description><![CDATA[ 311 See the <a href="#note">note</a> at the bottom of this table.* 312 ]]></description></error> 313 314 <error id="1058" label="kIllegalOperandTypeError">Illegal operand type: %1 must be %2. 315<description><![CDATA[ 316 See the <a href="#note">note</a> at the bottom of this table.* 317 ]]></description></error> 318 319 <error id="1059" label="kClassInfoOrderError">ClassInfo-%1 is referenced before definition. 320<description><![CDATA[ 321 See the <a href="#note">note</a> at the bottom of this table.* 322 ]]></description></error> 323 324 <error id="1060" label="kClassInfoExceedsCountError">ClassInfo %1 exceeds class_count=%2. 325<description><![CDATA[ 326 See the <a href="#note">note</a> at the bottom of this table.* 327 ]]></description></error> 328 329 330<error id="1061" label="kNumberOutOfRangeError">The value %1 cannot be converted to %2 without losing precision. 331<description><![CDATA[ 332 333 This error appears if you attempt to assign a decimal number to a property that has data type 334 int. 335 336 <p>This error also appears for out-of-range assignments, such as the following:</p> 337 338 <pre><code>var m0:int = 2147483648; // int.MAX_VALUE == 2147483647</code></pre> 339 <p>You can also see this error when using the bitwise left shift operator (<<). 340 For example, consider the following code:</p> 341 342 <pre><code>var m0:uint = 0xFF; 343var m1:uint = m0<<24;</code></pre> 344 345 <p>The result of left shift operator (<<) is interpreted as a 32-bit two's complement number 346 with sign. In the example, the result is a negative value, which causes the error when assigned 347 to the uint typed property. A workaround is the following:</p> 348 349 <pre><code>var m0:uint = 0xFF; 350var m1:uint = uint(m0<<24);</code></pre> 351 352 ]]></description></error> 353 <!--<error id="1062" label="kPackageCircularityError">Package %a imported while being defined</error>--> 354 <error id="1063" label="kWrongArgumentCountError">Argument count mismatch on %1. Expected %2, got %3.</error> 355 <error id="1064" label="kCannotCallMethodAsConstructor">Cannot call method %1 as constructor. 356 <description><![CDATA[ 357 Extracted methods are permanently bound to the object they are extracted from. 358 Therefore, they can not later be called as a constructor. For example, the following 359 creates function <code>f()</code> in Class A: 360 <pre><code>class A { 361 function f() {} 362 }</code></pre> 363 In the following code, extracting the function causes no error. However, creating 364 a new instance of the function causes an error. 365 <pre><code>var a = new A() 366 var m = a.f // extract f, don't call it 367 m() // same as a.f() 368 new m() // causes this error</code></pre> 369 370 ]]></description></error> 371 <error id="1065" label="kUndefinedVarError">Variable %1 is not defined. 372 <description><![CDATA[ 373 You are using an undefined lexical reference. For example, in the following statements, the 374 statement <code>trace(x)</code> generates an error because <code>x</code> is undefined. However, the 375 statement <code>trace(y)</code> doesn't generate an error because <code>y</code> is defined: 376 <pre><code>trace("hello world") 377 trace(x) // x is undefined 378 var y 379 trace(y) // No error, y is defined.</code></pre> 380 ]]></description></error> 381 <error id="1066" label="kFunctionConstructorError">The form function('function body') is not supported. 382 <description><![CDATA[ 383 Unlike JavaScript, Flash does not compile code on-the-fly using <code>eval()</code> and 384 <code>function()</code>. Thus, calling these as a constructor in ActionScript 3.0 generates this error. 385 ]]></description></error> 386 387<error id="1067" label="kIllegalNativeMethodBodyError">Native method %1 has illegal method body. 388<description><![CDATA[ 389 See the <a href="#note">note</a> at the bottom of this table.* 390 ]]></description></error> 391 392 393<error id="1068" label="kCannotMergeTypesError">%1 and %2 cannot be reconciled. 394<description><![CDATA[ 395 See the <a href="#note">note</a> at the bottom of this table.* 396 ]]></description></error> 397 398 <error id="1069" label="kReadSealedError">Property %1 not found on %2 and there is no default value. 399 <description><![CDATA[ 400 You are referencing an undefined property on a non-dynamic class instance. For example, the following generates this error when it references property 401 <code>x</code>, which is not defined and cannot be created dynamically: 402 <pre><code>class A {} // sealed class, not dynamic 403 trace(new A().x) // no property x defined on A, and A is not dynamic</code></pre> 404 ]]></description></error> 405 <error id="1070" label="kCallNotFoundError">Method %1 not found on %2 406 <description><![CDATA[ 407 You are using a <code>super</code> statement to call a function, but the function doesn't exist in the super class. 408 For example, the following code generates the error: <pre><code>class A() {} 409class B extends A { 410 function f() { trace(super.f()); } // error 1070, there is no f on A 411}</code></pre> 412 ]]></description></error> 413 <error id="1071" label="kAlreadyBoundError">Function %1 has already been bound to %2.</error> 414 415<error id="1072" label="kZeroDispIdError">Disp_id 0 is illegal. 416<description><![CDATA[ 417 See the <a href="#note">note</a> at the bottom of this table.* 418 ]]></description></error> 419 420 <error id="1073" label="kDuplicateDispIdError">Non-override method %1 replaced because of duplicate disp_id %2. 421<description><![CDATA[ 422 See the <a href="#note">note</a> at the bottom of this table.* 423 ]]></description></error> 424 425<error id="1074" label="kConstWriteError">Illegal write to read-only property %1 on %2.</error> 426 <error id="1075" label="kMathNotFunctionError">Math is not a function. 427 <description><![CDATA[ 428 You are trying to call <code>math()</code> as a function, but the Math class is a class with static methods. 429 ]]></description></error> 430 <error id="1076" label="kMathNotConstructorError">Math is not a constructor. 431 <description><![CDATA[ 432 You can not instantiate the Math class. 433 ]]></description></error> 434 435 <error id="1077" label="kWriteOnlyError">Illegal read of write-only property %1 on %2.</error> 436 <error id="1078" label="kIllegalOpMultinameError">Illegal opcode/multiname combination: %1<%2>. 437<description><![CDATA[ 438 See the <a href="#note">note</a> at the bottom of this table.* 439 ]]></description></error> 440 441 <error id="1079" label="kIllegalNativeMethodError">Native methods are not allowed in loaded code. 442<description><![CDATA[ 443 See the <a href="#note">note</a> at the bottom of this table.* 444 ]]></description></error> 445 446 <error id="1080" label="kIllegalNamespaceError">Illegal value for namespace. 447<description><![CDATA[ 448 See the <a href="#note">note</a> at the bottom of this table.* 449 ]]></description></error> 450 451 452 <error id="1081" label="kReadSealedErrorNs">Property %1 not found on %2 and there is no default value.</error> 453 <!--<error id="1081" label="kIllegalMultinameCallError">Illegal call to %1</error>--> 454 455 <error id="1082" label="kNoDefaultNamespaceError">No default namespace has been set. 456<description><![CDATA[ 457 See the <a href="#note">note</a> at the bottom of this table.* 458 ]]></description></error> 459 460 <error id="1083" label="kXMLPrefixNotBound">The prefix "%1" for element "%2" is not bound. 461<description><![CDATA[ 462 An attribute name or element name has a prefix but no matching namespace was 463 found. This statement generates an error because there is no <code>foo</code> 464 namespace to match <code>foo:x</code>:<pre/><foo:x xmlns:clowns='http://circuscenter.org'></pre> 465 ]]></description></error> 466 467 <error id="1084" label="kXMLBadQName">Element or attribute ("%1") does not match QName production: QName::=(NCName':')?NCName. 468<description><![CDATA[ 469 You have <code>foo: </code> or <code>:foo</code> as an element or attribute name, but there is nothing 470 on the other side of the colon. 471 ]]></description></error> 472 <error id="1085" label="kXMLUnterminatedElementTag">The element type "%1" must be terminated by the matching end-tag "</%2>".</error> 473 <error id="1086" label="kXMLOnlyWorksWithOneItemLists">The %1 method only works on lists containing one item. 474<description><![CDATA[ 475 The XMLList class propagates the XML-specific functions to one child if it has only one 476 item in its list. If more than one item is in the list, the routines fail with this 477 error. This happens for the following XMLList functions that mimic XML functions: 478 <p><code>addNamespace</code>, <code>appendChild</code>, <code>childIndex</code>, 479 <code>inScopeNamespaces</code>, <code>insertChildAfter</code>, <code>insertChildBefore</code>, 480 <code>name</code>, <code>namespace</code>, <code>localName</code>, <code>namespaceDeclarations</code>, 481 <code>nodeKind</code>, <code>prependChild</code>, <code>removeNamespace</code>, <code>replace</code>, 482 <code>setChildren</code>, <code>setLocalName</code>, <code>setName</code>, and <code>setNamespace. 483 484 ]]></description></error> 485 <error id="1087" label="kXMLAssignmentToIndexedXMLNotAllowed">Assignment to indexed XML is not allowed.</error> 486 <error id="1088" label="kXMLMarkupMustBeWellFormed">The markup in the document following the root element must be well-formed. 487<description><![CDATA[ 488 These are possible causes of this error: 489 <ul> 490 <li>Parsing an XMLList style object as XML</li> 491 <li>Misbalanced strings</li> 492 </ul> 493 ]]></description></error> 494 495 <error id="1089" label="kXMLAssigmentOneItemLists">Assignment to lists with more than one item is not supported.</error> 496 <error id="1090" label="kXMLMalformedElement">XML parser failure: element is malformed. 497<description><![CDATA[ 498 An element name is malformed. This example of an element name is malformed because a 499 trailing right angle bracket <code>></code> is missing: 500 501 <pre><a/><b></b</pre> ]]></description></error> 502 503 <error id="1091" label="kXMLUnterminatedCData">XML parser failure: Unterminated CDATA section.</error> 504 <error id="1092" label="kXMLUnterminatedXMLDecl">XML parser failure: Unterminated XML declaration.</error> 505 <error id="1093" label="kXMLUnterminatedDocTypeDecl">XML parser failure: Unterminated DOCTYPE declaration.</error> 506 <error id="1094" label="kXMLUnterminatedComment">XML parser failure: Unterminated comment.</error> 507 <error id="1095" label="kXMLUnterminatedAttribute">XML parser failure: Unterminated attribute.</error> 508 <error id="1096" label="kXMLUnterminatedElement">XML parser failure: Unterminated element.</error> 509 <error id="1097" label="kXMLUnterminatedProcessingInstruction">XML parser failure: Unterminated processing instruction.</error> 510 <error id="1098" label="kXMLNamespaceWithPrefixAndNoURI">Illegal prefix %1 for no namespace. 511<description><![CDATA[ 512 The namespace constructor throws this error if you try to pass in an empty URI with a 513 non-empty prefix as in this example: 514 515<pre>ns = new Namespace ("prefix", ""); 516 ]]></description></error> 517 518 <!--<error id="1099" label="kNullArgumentError">Argument %s cannot be null.</error>--> 519 <error id="1100" label="kRegExpFlagsArgumentError">Cannot supply flags when constructing one RegExp from another. 520 <description><![CDATA[ 521 Creating a new regular expression from an existing one also copies its flags. To create a regular expression with 522 different flags, use the <code>new</code> operator and set the flags as desired. For example, this statement 523 creates a regular expression and specifies flag settings: 524 <pre><code>var re:RegExp = new RegExp("ali", /s)</code></pre> 525 Alternatively, this statement creates a regular expression that has the same flags as re: 526 <pre><code>var re2:RegExp = new RegExp(re, ...)</code></pre> ]]></description></error> 527 528 <error id="1101" label="kNoScopeError">Cannot verify method %1 with unknown scope. 529<description><![CDATA[ 530 See the <a href="#note">note</a> at the bottom of this table.* 531 ]]></description></error> 532 533 <error id="1102" label="kIllegalDefaultValue">Illegal default value for type %1. 534<description><![CDATA[ 535 See the <a href="#note">note</a> at the bottom of this table.* 536 ]]></description></error> 537 538 <error id="1103" label="kCannotExtendFinalClass">Class %1 cannot extend final base class. 539<description><![CDATA[ 540 See the <a href="#note">note</a> at the bottom of this table.* 541 ]]></description></error> 542 543 <error id="1104" label="kXMLDuplicateAttribute">Attribute "%1" was already specified for element "%2".</error> 544 <!--<error id="1105" label="kStringIndexOutOfBoundsError">The string index %d is out of bounds; must be in range %d to %d.</error>--> 545 <!--<error id="1106" label="kInvalidRangeError">The range specified is invalid.</error>--> 546 <error id="1107" label="kCorruptABCError">The ABC data is corrupt, attempt to read out of bounds. 547<description><![CDATA[ 548 See the <a href="#note">note</a> at the bottom of this table.* 549 ]]></description></error> 550 551 <error id="1108" label="kInvalidBaseClassError">The OP_newclass opcode was used with the incorrect base class. 552<description><![CDATA[ 553 See the <a href="#note">note</a> at the bottom of this table.* 554 ]]></description></error> 555 556 <error id="1109" label="kDanglingFunctionError">Attempt to directly call unbound function %1 from method %2. 557<description><![CDATA[ 558 See the <a href="#note">note</a> at the bottom of this table.* 559 ]]></description></error> 560 561 <error id="1110" label="kCannotExtendError">%1 cannot extend %2. 562<description><![CDATA[ 563 See the <a href="#note">note</a> at the bottom of this table.* 564 ]]></description></error> 565 566 <error id="1111" label="kCannotImplementError">%1 cannot implement %2. 567<description><![CDATA[ 568 See the <a href="#note">note</a> at the bottom of this table.* 569 ]]></description></error> 570 571 <error id="1112" label="kCoerceArgumentCountError">Argument count mismatch on class coercion. Expected 1, got %1.</error> 572 <error id="1113" label="kInvalidNewActivationError">OP_newactivation used in method without NEED_ACTIVATION flag. 573<description><![CDATA[ 574 See the <a href="#note">note</a> at the bottom of this table.* 575 ]]></description></error> 576 577 <error id="1114" label="kNoGlobalScopeError">OP_getglobalslot or OP_setglobalslot used with no global scope. 578<description><![CDATA[ 579 See the <a href="#note">note</a> at the bottom of this table.* 580 ]]></description></error> 581 582 <error id="1115" label="kNotConstructorError">%1 is not a constructor.</error> 583 <error id="1116" label="kApplyError">second argument to Function.prototype.apply must be an array.</error> 584 <error id="1117" label="kXMLInvalidName">Invalid XML name: %1.</error> 585 <error id="1118" label="kXMLIllegalCyclicalLoop">Illegal cyclical loop between nodes.</error> 586 <error id="1119" label="kDeleteTypeError">Delete operator is not supported with operand of type %1.</error> 587 <error id="1120" label="kDeleteSealedError">Cannot delete property %1 on %2.</error> 588 <error id="1121" label="kDuplicateMethodBodyError">Method %1 has a duplicate method body.</error> 589 <error id="1122" label="kIllegalInterfaceMethodBodyError">Interface method %1 has illegal method body.</error> 590 <error id="1123" label="kFilterError">Filter operator not supported on type %1.</error> 591 <error id="1124" label="kInvalidHasNextError">OP_hasnext2 requires object and index to be distinct registers.</error> 592 <error id="1125" label="kOutOfRangeError">The index %1 is out of range %2.</error> 593 <error id="1126" label="kVectorFixedError">Cannot change the length of a fixed Vector.</error> 594 <error id="1127" label="kTypeAppOfNonParamType">Type application attempted on a non-parameterized type.</error> 595 <error id="1128" label="kWrongTypeArgCountError">Incorrect number of type parameters for %1. Expected %2, got %3.</error> 596 <error id="1129" label="kJSONCyclicStructure">Cyclic structure cannot be converted to JSON string.</error> 597 <!-- id 1130 was allocated and later became unnecessary. --> 598 <error id="1131" label="kJSONInvalidReplacer">Replacer argument to JSON stringifier must be an array or a two parameter function.</error> 599 <error id="1132" label="kJSONInvalidParseInput">Invalid JSON parse input.</error> 600 601 <!-- The following errors are specific to the AVM2 command-line shell.--> 602 <error id="1500" hidden="true" label="kFileOpenError">Error occurred opening file %1.</error> 603 <error id="1501" hidden="true" label="kFileWriteError">Error occurred writing to file %1. 604 <description><![CDATA[ 605 The file you are writing to cannot be opened. Possibly the filename contains an error, the file is read-only, or 606 you do not have access privileges. 607 ]]></description> 608 </error> 609 <error id="1502" label="kScriptTimeoutError">A script has executed for longer than the default timeout period of 15 seconds. 610 <description><![CDATA[ 611 A script executed after the timeout period. (The default timeout period is 15 seconds.) After this error occurs, the 612 script can continue to execute for 15 seconds more, after which the script terminates and throws run-time error number 1503 (A script failed to exit after 30 seconds and was terminated.) 613 ]]></description> 614 </error> 615 <error id="1503" label="kScriptTerminatedError">A script failed to exit after 30 seconds and was terminated. 616 <description><![CDATA[ 617 The script was still executing after 30 seconds. Flash Player first throws run-time error number 1502 (A script has executed for longer than the default timeout period of 15 seconds.) if the script executed more than 15 618 seconds, which is the default timeout period. This error occurs 15 seconds after Error 1502 occurs. 619 ]]></description></error> 620 <error id="1504" hidden="true" label="kEndOfFileError">End of file. 621 <description><![CDATA[ 622 Flash Player unexpectedly encountered the end of the file. Possibly the file was not saved correctly or Flash Player expected more data 623 in the file. 624 ]]></description> 625 </error> 626 <error id="1505" hidden="true" label="kStringIndexOutOfBoundsError">The string index %1 is out of bounds; must be in range %2 to %3.</error> 627 <error id="1506" hidden="true" label="kInvalidRangeError">The specified range is invalid. 628 <description><![CDATA[ 629 The method's <code>start</code> parameter is greater than its <code>end</code> parameter. 630 ]]></description></error> 631 <error id="1507" label="kNullArgumentError">Argument %1 cannot be null.</error> 632 <error id="1508" label="kInvalidArgumentError">The value specified for argument %1 is invalid. 633 <description><![CDATA[ 634 You are possibly trying to pass the wrong data type. For example, the code 635 <pre><code>public function doSomething(const:int):void { 636 } 637 this ["doSomething"] ("str")</code></pre> 638 generates an error at runtime because <code>doSomething</code> is cast as an int data type. ]]></description></error> 639 640 <error id="1510" label="kArrayFilterNonNullObjectError">When the callback argument is a method of a class, the optional this argument must be null.</error> 641 <error id="1511" label="kWorkerAlreadyStarted">Worker is already started.</error> 642 <error id="1512" label="kFailedWorkerCannotBeRestarted">Starting a worker that already failed is not supported.</error> 643 <error id="1513" label="kWorkerTerminated">Worker has terminated."</error> 644 <error id="1514" label="kMutextNotLocked">unlock() with no preceding matching lock().</error> 645 <error id="1515" label="kConditionInvalidTimeout">Invalid condition timeout value: %1.</error> 646 <error id="1516" label="kConditionCannotNotify">Condition cannot notify if associated mutex is not owned.</error> 647 <error id="1517" label="kConditionCannotNotifyAll">Condition cannot notifyAll if associated mutex is not owned.</error> 648 <error id="1518" label="kConditionCannotWait">Condition cannot wait if associated mutex is not owned.</error> 649 <error id="1519" label="kConditionCannotBeInitialized">Condition cannot be initialized.</error> 650 <error id="1520" label="kMutexCannotBeInitialized">Mutex cannot be initialized.</error> 651 <error id="1521" label="kWorkerIllegalCallToStart">Only the worker's parent may call start.</error> 652 653 <error id="2004" label="kInvalidParamError">One of the parameters is invalid.</error> 654 <error id="2006" label="kParamRangeError">The supplied index is out of bounds.</error> 655 <error id="2007" label="kNullPointerError">Parameter %1 must be non-null.</error> 656 <error id="2008" label="kInvalidEnumError">Parameter %1 must be one of the accepted values.</error> 657 <error id="2012" label="kCantInstantiateError">%1 class cannot be instantiated.</error> 658 <error id="2030" label="kEOFError">End of file was encountered.</error> 659 <error id="2058" label="kCompressedDataError">There was an error decompressing the data.</error> 660 <error id="2085" label="kEmptyStringError">Parameter %1 must be non-empty string.</error> 661 <error id="2088" label="kProxyGetPropertyError">The Proxy class does not implement getProperty. It must be overridden by a subclass.</error> 662 <error id="2089" label="kProxySetPropertyError">The Proxy class does not implement setProperty. It must be overridden by a subclass.</error> 663 <error id="2090" label="kProxyCallPropertyError">The Proxy class does not implement callProperty. It must be overridden by a subclass.</error> 664 <error id="2091" label="kProxyHasPropertyError">The Proxy class does not implement hasProperty. It must be overridden by a subclass.</error> 665 <error id="2092" label="kProxyDeletePropertyError">The Proxy class does not implement deleteProperty. It must be overridden by a subclass.</error> 666 <error id="2093" label="kProxyGetDescendantsError">The Proxy class does not implement getDescendants. It must be overridden by a subclass.</error> 667 <error id="2105" label="kProxyNextNameIndexError">The Proxy class does not implement nextNameIndex. It must be overridden by a subclass.</error> 668 <error id="2106" label="kProxyNextNameError">The Proxy class does not implement nextName. It must be overridden by a subclass.</error> 669 <error id="2107" label="kProxyNextValueError">The Proxy class does not implement nextValue. It must be overridden by a subclass.</error> 670 <error id="2108" label="kInvalidArrayLengthError">The value %1 is not a valid Array length.</error> 671 <error id="2173" label="kReadExternalNotImplementedError">Unable to read object in stream. The class %1 does not implement flash.utils.IExternalizable but is aliased to an externalizable class.</error> 672 673</errors>