blob: 59abea45893d43cf5462dbff6e7a7564cb8ae8d4 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!-- saved from url=(0014)about:internet --><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><link rel="stylesheet" href="../../style.css" type="text/css" media="screen"><link rel="stylesheet" href="../../print.css" type="text/css" media="print"><link rel="stylesheet" href="../../override.css" type="text/css"><meta name="keywords" content="LastOperationStatus,spark.globalization.LastOperationStatus,BUFFER_OVERFLOW_ERROR,ERROR_CODE_UNKNOWN,ILLEGAL_ARGUMENT_ERROR,INDEX_OUT_OF_BOUNDS_ERROR,INVALID_ATTR_VALUE,INVALID_CHAR_FOUND,LOCALE_UNDEFINED_ERROR,MEMORY_ALLOCATION_ERROR,NO_ERROR,NUMBER_OVERFLOW_ERROR,PARSE_ERROR,PATTERN_SYNTAX_ERROR,PLATFORM_API_FAILED,TRUNCATED_CHAR_FOUND,UNEXPECTED_TOKEN,UNSUPPORTED_ERROR,USING_DEFAULT_WARNING,USING_FALLBACK_WARNING,actualLocaleIDName,lastOperationStatus"><title>spark.globalization.LastOperationStatus</title></head><body><script language="javascript" type="text/javascript" src="../../asdoc.js"></script><script language="javascript" type="text/javascript" src="../../help.js"></script><script language="javascript" type="text/javascript" src="../../cookies.js"></script><script language="javascript" type="text/javascript"><!--
asdocTitle = 'LastOperationStatus - ApacheFlex API Reference';
var baseRef = '../../';
window.onload = configPage;
--></script>
<script type="text/javascript">
scrollToNameAnchor();
</script><table class="titleTable" cellpadding="0" cellspacing="0" id="titleTable" style="display:none"><tr><td class="titleTableTitle" align="left">Apache Flex 4.16.1 API Reference </td><td class="titleTableTopNav" align="right"><a href="../../package-summary.html" onclick="loadClassListFrame('../../all-classes.html')">All Packages</a>&nbsp;|&nbsp;<a href="../../class-summary.html" onclick="loadClassListFrame('../../all-classes.html')">All Classes</a>&nbsp;|&nbsp;<a href="../../all-index-A.html" onclick="loadClassListFrame('../../index-list.html')">Index</a>&nbsp;|&nbsp;<a id="framesLink1" href="../../index.html?spark/globalization/LastOperationStatus.html&amp;spark/globalization/class-list.html">Frames</a><a id="noFramesLink1" style="display:none" href="" onclick="parent.location=document.location"> No Frames </a></td><td class="titleTableLogo" align="right" rowspan="3"><img src="../../images/logo.jpg" class="logoImage" alt="AdobeLogo" title="AdobeLogo"></td></tr><tr class="titleTableRow2"><td class="titleTableSubTitle" id="subTitle" align="left">LastOperationStatus</td><td class="titleTableSubNav" id="subNav" align="right"><a href="#constantSummary">Constants</a></td></tr><tr class="titleTableRow3"><td colspan="3">&nbsp;</td></tr></table><script language="javascript" type="text/javascript" xml:space="preserve">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("LastOperationStatus"); titleBar_setSubNav(true,false,false,false,false,false,false,false,false,false,false ,false,false,false,false,false);}
-->
</script><div xmlns:fn="http://www.w3.org/2005/xpath-functions" class="MainContent"><table class="classHeaderTable" cellpadding="0" cellspacing="0"><tr><td class="classHeaderTableLabel">Package</td><td><a href="package-detail.html" onclick="javascript:loadClassListFrame('class-list.html')">spark.globalization</a></td></tr><tr><td class="classHeaderTableLabel">Class</td><td class="classSignature">public final class LastOperationStatus</td></tr><tr><td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">LastOperationStatus <img src="../../images/inherit-arrow.gif" title="Inheritance" alt="Inheritance" class="inheritArrow"> Object</td></tr></table><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 4.55</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 10.1, AIR 2.5</td></tr></table><p></p><p></p><p></p><p></p>
The LastOperationStatus class enumerates constant values that represent the
status of the most recent globalization service operation.
These values can be retrieved through the read-only property
<code>lastOperationStatus</code> available in most globalization classes.
<p></p><p><span class="classHeaderTableLabel">See also</span></p><div class="seeAlso">flash.globalization.LastOperationStatus</div><br/><hr></div><a name="constantSummary"></a><div class="summarySection"><div class="summaryTableTitle">Public Constants</div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableConstant"><tr><th>&nbsp;</th><th colspan="2">Constant</th><th class="summaryTableOwnerCol">Defined By</th></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#BUFFER_OVERFLOW_ERROR" class="signatureLink">BUFFER_OVERFLOW_ERROR</a> : String = bufferOverflowError<div class="summaryTableDescription">[static]
Indicates that given buffer is not enough to hold the result.</div></td><td class="summaryTableOwnerCol">LastOperationStatus</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#ERROR_CODE_UNKNOWN" class="signatureLink">ERROR_CODE_UNKNOWN</a> : String = errorCodeUnknown<div class="summaryTableDescription">[static]
Indicates that the return error code is not known.</div></td><td class="summaryTableOwnerCol">LastOperationStatus</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#ILLEGAL_ARGUMENT_ERROR" class="signatureLink">ILLEGAL_ARGUMENT_ERROR</a> : String = illegalArgumentError<div class="summaryTableDescription">[static]
Indicates that an argument passed to a method was illegal.</div></td><td class="summaryTableOwnerCol">LastOperationStatus</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#INDEX_OUT_OF_BOUNDS_ERROR" class="signatureLink">INDEX_OUT_OF_BOUNDS_ERROR</a> : String = indexOutOfBoundsError<div class="summaryTableDescription">[static]
Indicates that an iterator went out of range or an invalid parameter was
specified for month, day, or time.</div></td><td class="summaryTableOwnerCol">LastOperationStatus</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#INVALID_ATTR_VALUE" class="signatureLink">INVALID_ATTR_VALUE</a> : String = invalidAttrValue<div class="summaryTableDescription">[static]
Indicates that a given attribute value is out of the expected range.</div></td><td class="summaryTableOwnerCol">LastOperationStatus</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#INVALID_CHAR_FOUND" class="signatureLink">INVALID_CHAR_FOUND</a> : String = invalidCharFound<div class="summaryTableDescription">[static]
Indicates that invalid Unicode value was found.</div></td><td class="summaryTableOwnerCol">LastOperationStatus</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#LOCALE_UNDEFINED_ERROR" class="signatureLink">LOCALE_UNDEFINED_ERROR</a> : String = localeUndefinedError<div class="summaryTableDescription">[static]
Indicates that Locale is not defined.</div></td><td class="summaryTableOwnerCol">LastOperationStatus</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#MEMORY_ALLOCATION_ERROR" class="signatureLink">MEMORY_ALLOCATION_ERROR</a> : String = memoryAllocationError<div class="summaryTableDescription">[static]
Indicates that memory allocation has failed.</div></td><td class="summaryTableOwnerCol">LastOperationStatus</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#NO_ERROR" class="signatureLink">NO_ERROR</a> : String = noError<div class="summaryTableDescription">[static]
Indicates that the last operation succeeded without any errors.</div></td><td class="summaryTableOwnerCol">LastOperationStatus</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#NUMBER_OVERFLOW_ERROR" class="signatureLink">NUMBER_OVERFLOW_ERROR</a> : String = numberOverflowError<div class="summaryTableDescription">[static]
Indicates that an operation resulted a value that exceeds a specified
numeric type.</div></td><td class="summaryTableOwnerCol">LastOperationStatus</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#PARSE_ERROR" class="signatureLink">PARSE_ERROR</a> : String = parseError<div class="summaryTableDescription">[static]
Indicates that the parsing of a number failed.</div></td><td class="summaryTableOwnerCol">LastOperationStatus</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#PATTERN_SYNTAX_ERROR" class="signatureLink">PATTERN_SYNTAX_ERROR</a> : String = patternSyntaxError<div class="summaryTableDescription">[static]
Indicates that the pattern for formatting a number, date, or time is
invalid.</div></td><td class="summaryTableOwnerCol">LastOperationStatus</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#PLATFORM_API_FAILED" class="signatureLink">PLATFORM_API_FAILED</a> : String = platformAPIFailed<div class="summaryTableDescription">[static]
Indicates that an underlying platform API failed for an operation.</div></td><td class="summaryTableOwnerCol">LastOperationStatus</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#TRUNCATED_CHAR_FOUND" class="signatureLink">TRUNCATED_CHAR_FOUND</a> : String = truncatedCharFound<div class="summaryTableDescription">[static]
Indicates that a truncated Unicode character value was found.</div></td><td class="summaryTableOwnerCol">LastOperationStatus</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#UNEXPECTED_TOKEN" class="signatureLink">UNEXPECTED_TOKEN</a> : String = unexpectedToken<div class="summaryTableDescription">[static]
Indicates that an unexpected token was detected in a Locale ID string.</div></td><td class="summaryTableOwnerCol">LastOperationStatus</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#UNSUPPORTED_ERROR" class="signatureLink">UNSUPPORTED_ERROR</a> : String = unsupportedError<div class="summaryTableDescription">[static]
Indicates that the requested operation or option is not supported.</div></td><td class="summaryTableOwnerCol">LastOperationStatus</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#USING_DEFAULT_WARNING" class="signatureLink">USING_DEFAULT_WARNING</a> : String = usingDefaultWarning<div class="summaryTableDescription">[static]
Indicates that an operating system default value was used during the
most recent operation.</div></td><td class="summaryTableOwnerCol">LastOperationStatus</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#USING_FALLBACK_WARNING" class="signatureLink">USING_FALLBACK_WARNING</a> : String = usingFallbackWarning<div class="summaryTableDescription">[static]
Indicates that a fallback value was set during the most recent
operation.</div></td><td class="summaryTableOwnerCol">LastOperationStatus</td></tr></table></div><script language="javascript" type="text/javascript"><!--
showHideInherited();
--></script><div class="MainContent"><div class="detailSectionHeader">Constant Detail</div><a name="constantDetail"></a><a name="BUFFER_OVERFLOW_ERROR"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">BUFFER_OVERFLOW_ERROR</td><td class="detailHeaderType">Constant</td></tr></table><div class="detailBody"><code>public static const BUFFER_OVERFLOW_ERROR:String = bufferOverflowError</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 4.5</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 10.1, AIR 2.5</td></tr></table><p></p><p></p><p>
Indicates that given buffer is not enough to hold the result.
</p><p><span class="label">See also</span></p><div class="seeAlso">flash.globalization.LastOperationStatus.BUFFER_OVERFLOW_ERROR</div></div><a name="constantDetail"></a><a name="ERROR_CODE_UNKNOWN"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">ERROR_CODE_UNKNOWN</td><td class="detailHeaderType">Constant</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>public static const ERROR_CODE_UNKNOWN:String = errorCodeUnknown</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 4.5s</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 10.1, AIR 2.5</td></tr></table><p></p><p></p><p>
Indicates that the return error code is not known.
Any non-static method or read/write properties can return this error
when the operation is not successful and the return error code is not
known.
</p><p><span class="label">See also</span></p><div class="seeAlso">flash.globalization.LastOperationStatus.ERROR_CODE_UNKNOWN</div></div><a name="constantDetail"></a><a name="ILLEGAL_ARGUMENT_ERROR"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">ILLEGAL_ARGUMENT_ERROR</td><td class="detailHeaderType">Constant</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>public static const ILLEGAL_ARGUMENT_ERROR:String = illegalArgumentError</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 4.5</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 10.1, AIR 2.5</td></tr></table><p></p><p></p><p>
Indicates that an argument passed to a method was illegal.
<p>For example, the following code shows that an invalid argument error
status is set when <code>CurrencyFormatter.grouping</code> property is
set to the invalid value "3;".</p>
<pre>
var cf:CurrencyFormatter = new CurrencyFormatter();
cf.setStyle("locale","en_US");
cf.groupingPattern = "3;";
trace(cf.lastOperationStatus); // "illegalArgumentError"
</pre>
</p><p><span class="label">See also</span></p><div class="seeAlso">flash.globalization.LastOperationStatus.ILLEGAL_ARGUMENT_ERROR</div></div><a name="constantDetail"></a><a name="INDEX_OUT_OF_BOUNDS_ERROR"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">INDEX_OUT_OF_BOUNDS_ERROR</td><td class="detailHeaderType">Constant</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>public static const INDEX_OUT_OF_BOUNDS_ERROR:String = indexOutOfBoundsError</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 4.5</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 10.1, AIR 2.5</td></tr></table><p></p><p></p><p>
Indicates that an iterator went out of range or an invalid parameter was
specified for month, day, or time.
</p><p><span class="label">See also</span></p><div class="seeAlso">flash.globalization.LastOperationStatus.INDEX_OUT_OF_BOUNDS_ERROR</div></div><a name="constantDetail"></a><a name="INVALID_ATTR_VALUE"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">INVALID_ATTR_VALUE</td><td class="detailHeaderType">Constant</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>public static const INVALID_ATTR_VALUE:String = invalidAttrValue</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 4.5</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 10.1, AIR 2.5</td></tr></table><p></p><p></p><p>
Indicates that a given attribute value is out of the expected range.
<p>The following example shows that setting the
<code>NumberFormatter.negativeNumberFormat</code> property to an
out-of-range value results in an invalid attribute value status.</p>
<pre>
var nf:NumberFormatter = new NumberFormatter();
nf.setStyle("locale","en_US");
nf.negativeNumberFormat = 9;
nf.lastOperationStatus; // "invalidAttrValue"
</pre>
</p><p><span class="label">See also</span></p><div class="seeAlso">flash.globalization.LastOperationStatus.INVALID_ATTR_VALUE</div></div><a name="constantDetail"></a><a name="INVALID_CHAR_FOUND"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">INVALID_CHAR_FOUND</td><td class="detailHeaderType">Constant</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>public static const INVALID_CHAR_FOUND:String = invalidCharFound</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 4.5</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 10.1, AIR 2.5</td></tr></table><p></p><p></p><p>
Indicates that invalid Unicode value was found.
</p><p><span class="label">See also</span></p><div class="seeAlso">flash.globalization.LastOperationStatus.INVALID_CHAR_FOUND</div></div><a name="constantDetail"></a><a name="LOCALE_UNDEFINED_ERROR"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">LOCALE_UNDEFINED_ERROR</td><td class="detailHeaderType">Constant</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>public static const LOCALE_UNDEFINED_ERROR:String = localeUndefinedError</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 4.5</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 10.1, AIR 2.5</td></tr></table><p></p><p></p><p>
Indicates that <code>Locale</code> is not defined.
</p></div><a name="constantDetail"></a><a name="MEMORY_ALLOCATION_ERROR"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">MEMORY_ALLOCATION_ERROR</td><td class="detailHeaderType">Constant</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>public static const MEMORY_ALLOCATION_ERROR:String = memoryAllocationError</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 4.5</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 10.1, AIR 2.5</td></tr></table><p></p><p></p><p>
Indicates that memory allocation has failed.
</p><p><span class="label">See also</span></p><div class="seeAlso">flash.globalization.LastOperationStatus.MEMORY_ALLOCATION_ERROR</div></div><a name="constantDetail"></a><a name="NO_ERROR"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">NO_ERROR</td><td class="detailHeaderType">Constant</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>public static const NO_ERROR:String = noError</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 4.5</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 10.1, AIR 2.5</td></tr></table><p></p><p></p><p>
Indicates that the last operation succeeded without any errors.
This status can be returned by all constructors, non-static methods,
static methods and read/write properties.
</p><p><span class="label">See also</span></p><div class="seeAlso">flash.globalization.LastOperationStatus.NO_ERROR</div></div><a name="constantDetail"></a><a name="NUMBER_OVERFLOW_ERROR"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">NUMBER_OVERFLOW_ERROR</td><td class="detailHeaderType">Constant</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>public static const NUMBER_OVERFLOW_ERROR:String = numberOverflowError</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 4.5</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 10.1, AIR 2.5</td></tr></table><p></p><p></p><p>
Indicates that an operation resulted a value that exceeds a specified
numeric type.
</p><p><span class="label">See also</span></p><div class="seeAlso">flash.globalization.LastOperationStatus.NUMBER_OVERFLOW_ERROR</div></div><a name="constantDetail"></a><a name="PARSE_ERROR"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">PARSE_ERROR</td><td class="detailHeaderType">Constant</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>public static const PARSE_ERROR:String = parseError</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 4.5</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 10.1, AIR 2.5</td></tr></table><p></p><p></p><p>
Indicates that the parsing of a number failed.
This status can be returned by parsing methods of the formatter classes,
such as <code>CurrencyFormatter.parse()</code> and
<code>NumberFormatter.parseNumber()</code>.
For example, if the value "12abc34" is passed as the parameter to the
<code>CurrencyFormatter.parse()</code> method, the method returns "NaN"
and sets the <code>lastOperationStatus</code> value to
<code>LastOperationStatus.PARSE_ERROR</code>.
</p><p><span class="label">See also</span></p><div class="seeAlso">flash.globalization.LastOperationStatus.PARSE_ERROR</div></div><a name="constantDetail"></a><a name="PATTERN_SYNTAX_ERROR"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">PATTERN_SYNTAX_ERROR</td><td class="detailHeaderType">Constant</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>public static const PATTERN_SYNTAX_ERROR:String = patternSyntaxError</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 4.5</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 10.1, AIR 2.5</td></tr></table><p></p><p></p><p>
Indicates that the pattern for formatting a number, date, or time is
invalid.
This status is set when the user's operating system does not support the
given pattern.
<p>For example, the following code shows the value of the
<code>lastOperationStatus</code> property after an invalid "xx" pattern
is used for date formatting:</p>
<pre>
var df:DateTimeFormatter = new DateTimeFormatter();
df.setStyle("locale","en_US");
df.setDateTimePattern("xx");
trace(df.lastOperationStatus); // "patternSyntaxError"
</pre>
</p><p><span class="label">See also</span></p><div class="seeAlso">flash.globalization.LastOperationStatus.PATTERN_SYNTAX_ERROR</div></div><a name="constantDetail"></a><a name="PLATFORM_API_FAILED"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">PLATFORM_API_FAILED</td><td class="detailHeaderType">Constant</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>public static const PLATFORM_API_FAILED:String = platformAPIFailed</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 4.5</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 10.1, AIR 2.5</td></tr></table><p></p><p></p><p>
Indicates that an underlying platform API failed for an operation.
</p><p><span class="label">See also</span></p><div class="seeAlso">flash.globalization.LastOperationStatus.PLATFORM_API_FAILED</div></div><a name="constantDetail"></a><a name="TRUNCATED_CHAR_FOUND"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">TRUNCATED_CHAR_FOUND</td><td class="detailHeaderType">Constant</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>public static const TRUNCATED_CHAR_FOUND:String = truncatedCharFound</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 4.5</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 10.1, AIR 2.5</td></tr></table><p></p><p></p><p>
Indicates that a truncated Unicode character value was found.
</p><p><span class="label">See also</span></p><div class="seeAlso">flash.globalization.LastOperationStatus.TRUNCATED_CHAR_FOUND</div></div><a name="constantDetail"></a><a name="UNEXPECTED_TOKEN"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">UNEXPECTED_TOKEN</td><td class="detailHeaderType">Constant</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>public static const UNEXPECTED_TOKEN:String = unexpectedToken</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 4.5</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 10.1, AIR 2.5</td></tr></table><p></p><p></p><p>
Indicates that an unexpected token was detected in a Locale ID string.
<p>For example, the following code shows the value of the
<code>lastOperationStatus</code> property after an incomplete string is
used when requesting a locale ID.
As a result the <code>lastOperationStatus</code> property is set to the
value <code>UNEXPECTED_TOKEN</code> after a call to the
<code>LocaleID.getKeysAndValues()</code> method.</p>
<pre>
var locale:flash.globalization.LocaleID = new flash.globalization.LocaleID("en-US@Collation");
var kav:Object = locale.getKeysAndValues();
trace(locale.lastOperationStatus); // "unexpectedToken"
</pre>
</p><p><span class="label">See also</span></p><div class="seeAlso">flash.globalization.LastOperationStatus.UNEXPECTED_TOKEN</div></div><a name="constantDetail"></a><a name="UNSUPPORTED_ERROR"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">UNSUPPORTED_ERROR</td><td class="detailHeaderType">Constant</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>public static const UNSUPPORTED_ERROR:String = unsupportedError</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 4.5</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 10.1, AIR 2.5</td></tr></table><p></p><p></p><p>
Indicates that the requested operation or option is not supported.
This status can be returned by methods such as
<code>DateTimeFormatter.setDateTimePattern()</code> and when retrieving
properties suce as <code>Collator.ignoreCase</code>.
</p><p><span class="label">See also</span></p><div class="seeAlso">flash.globalization.LastOperationStatus.UNSUPPORTED_ERROR</div></div><a name="constantDetail"></a><a name="USING_DEFAULT_WARNING"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">USING_DEFAULT_WARNING</td><td class="detailHeaderType">Constant</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>public static const USING_DEFAULT_WARNING:String = usingDefaultWarning</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 4.5</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 10.1, AIR 2.5</td></tr></table><p></p><p></p><p>
Indicates that an operating system default value was used during the
most recent operation.
Class constructors can return this status.
</p><p><span class="label">See also</span></p><div class="seeAlso">flash.globalization.LastOperationStatus.USING_DEFAULT_WARNING</div></div><a name="constantDetail"></a><a name="USING_FALLBACK_WARNING"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">USING_FALLBACK_WARNING</td><td class="detailHeaderType">Constant</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>public static const USING_FALLBACK_WARNING:String = usingFallbackWarning</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 4.5</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 10.1, AIR 2.5</td></tr></table><p></p><p></p><p>
Indicates that a fallback value was set during the most recent
operation.
This status can be returned by constructors and methods such as
<code>DateTimeFormatter.setDateTimeStyles()</code>, and when retrieving
properties such as <code>CurrencyFormatter.groupingPattern</code>.
</p><p><span class="label">See also</span></p><div class="seeAlso">flash.globalization.LastOperationStatus.USING_FALLBACK_WARNING</div></div><br/><br/><hr><br/><p></p><center class="copyright"><footer>The Apache Software Foundation</footer><br/>Wed Nov 15 2017, 09:50 AM +01:00 </center></div></body></html><!--The Apache Software Foundation<br/>Wed Nov 15 2017, 09:50 AM +01:00 -->