﻿<!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"><meta name="book" content="ActionScript&nbsp;3.0&nbsp;Language&nbsp;and&nbsp;Components&nbsp;Reference"><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="SQLError,flash.errors.SQLError,ANALYZE,ATTACH,BEGIN,CLOSE,COMMIT,COMPACT,DEANALYZE,DETACH,EXECUTE,OPEN,REENCRYPT,ROLLBACK,SCHEMA,detailArguments,detailID,details,operation,subErrorID,toString,toString"><title>flash.errors.SQLError (ActionScript 3.0)</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 = 'SQLError - ActionScript 3.0 Language and Components Reference';

				var baseRef = '../../';

				window.onload = configPage;
			      
			    -->  
            </script>
<script language="javascript" type="text/javascript"><!--
function submitValue(){
var searchStr=document.getElementById('search-livedocs').value;
window.location="../../search.html"+"###"+searchStr;
}
--></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">ActionScript 3.0 Language and Components Reference</td><td class="titleTableSearch" align="center"><form class="searchForm" method="get" action="../../search.html" onsubmit="submitValue();"><input class="hidden" name="loc" value="" type="hidden"><input class="hidden" name="termPrefix" value="" type="hidden"><input class="hidden" name="term" value="" type="hidden"><input class="hidden" name="area" value="" type="hidden"><input id="search-livedocs" name="search_text" value="" title="" type="text"> <input type="button" name="action" value="Search" onclick="submitValue()"></form></td><td class="titleTableTopNav" align="right"><a href="../../../../Flash/10.0_Welcome/index.html">Home</a>&nbsp;|&nbsp;<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="../../language-elements.html">Language Elements</a>&nbsp;| <a href="../../all-index-Symbols.html" onclick="loadClassListFrame('../../index-list.html')">Index</a>&nbsp;|&nbsp;<a href="../../appendixes.html">Appendixes</a>&nbsp;|&nbsp;<a href="../../conventions.html">Conventions</a>&nbsp;|&nbsp;<a id="framesLink1" href="../../index.html?flash/errors/SQLError.html&amp;flash/errors/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=" Adobe Logo " title=" Adobe Logo "></td></tr><tr class="titleTableRow2"><td class="titleTableSubTitle" id="subTitle" align="left">SQLError</td><td class="titleTableSubNav" id="subNav" align="right" colspan="2"><a href="#propertySummary">Properties</a>&nbsp;| <a href="#methodSummary">Methods</a>&nbsp;| <a href="#eventSummary">Events</a>&nbsp;| <a href="#styleSummary">Styles</a>&nbsp;| <a href="#effectSummary">Effects</a>&nbsp;| <a href="#constantSummary">Constants</a>&nbsp;| <a href="#includeExamplesSummary">Examples</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("SQLError"); titleBar_setSubNav(false,true,false	,false,false,false,true,false,false	,false,false,false,false,false);}

				    
				        
				    
				-->
                
                    
                
			</script><div class="MainContent"><div class="annotation">(AIR only)</div><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')">flash.errors</a></td></tr><tr><td class="classHeaderTableLabel">Class</td><td class="classSignature">public  class  SQLError</td></tr><tr><td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">SQLError  <img src="../../images/inherit-arrow.gif" title="Inheritance" alt="Inheritance" class="inheritArrow"> <a href="../../Error.html">Error</a> <img src="../../images/inherit-arrow.gif" title="Inheritance" alt="Inheritance" class="inheritArrow"> <a href="../../Object.html">Object</a></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>Runtime Versions:&nbsp;</b></td><td>AIR 1.0</td></tr></table><p></p><p></p><p></p>
        A SQLError instance provides detailed information about a failed operation.
        <p>
          In asynchronous execution mode, when an error occurs
 with a SQL database operation the SQLConnection or SQLStatement instance
 dispatches a SQLErrorEvent object. Information about the error in the form of a
 SQLError instance can be accessed from the SQLErrorEvent object's
          <code>error</code>
          property.
        </p>
        
               <p>
          In synchronous execution mode, when an error occurs with a SQL
 database operation the SQLConnection or SQLStatement instance throws a
 SQLError exception, which can be handled by enclosing the error-throwing code in
 a
          <code>try..catch</code>
          block.
        </p>
        
               <p>This class provides properties containing the error details (specifying the specific type of
 error that occured), a text message
 containing the details of the error, and the operation that caused the
 error to occur.</p>
        
            <p></p><p><span class="classHeaderTableLabel">See also</span></p><div class="seeAlso"><a href="../../flash/events/SQLErrorEvent.html" target="">flash.events.SQLErrorEvent</a><br/><a href="../../flash/data/SQLConnection.html" target="">flash.data.SQLConnection</a><br/><a href="../../flash/data/SQLStatement.html" target="">flash.data.SQLStatement</a></div><br/><hr></div><a name="propertySummary"></a><div class="summarySection"><div class="summaryTableTitle">Public Properties</div><div class="showHideLinks"><div id="hideInheritedProperty" class="hideInheritedProperty"><a class="showHideLink" href="#propertySummary" onclick="javascript:setInheritedVisible(false,'Property');"><img class="showHideLinkImage" src="../../images/expanded.gif"> Hide Inherited Public Properties</a></div><div id="showInheritedProperty" class="showInheritedProperty"><a class="showHideLink" href="#propertySummary" onclick="javascript:setInheritedVisible(true,'Property');"><img class="showHideLinkImage" src="../../images/collapsed.gif"> Show Inherited Public Properties</a></div></div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableProperty"><tr><th>&nbsp;</th><th colspan="2">Property</th><th>Defined By</th></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../Object.html#constructor" class="signatureLink">constructor</a> : <a href="../../Object.html">Object</a><div class="summaryTableDescription">A reference to the class object or constructor function for a given object instance.</div></td><td class="summaryTableOwnerCol"><a href="../../Object.html">Object</a></td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><img src="../../images/AirIcon12x12.gif" width="12" height="12" hspace="0" vspace="0" alt="AIR-only" title="Only available in the AIR runtime">&nbsp;<a href="#detailArguments" class="signatureLink">detailArguments</a> : <a href="../../Array.html">Array</a><div class="summaryTableDescription">[read-only] An array of String values that can be used to construct a locale specific
      detail error message.</div></td><td class="summaryTableOwnerCol">SQLError</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><img src="../../images/AirIcon12x12.gif" width="12" height="12" hspace="0" vspace="0" alt="AIR-only" title="Only available in the AIR runtime">&nbsp;<a href="#detailID" class="signatureLink">detailID</a> : <a href="../../int.html">int</a><div class="summaryTableDescription">[read-only] A reference number associated with the specific detail message.</div></td><td class="summaryTableOwnerCol">SQLError</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><img src="../../images/AirIcon12x12.gif" width="12" height="12" hspace="0" vspace="0" alt="AIR-only" title="Only available in the AIR runtime">&nbsp;<a href="#details" class="signatureLink">details</a> : <a href="../../String.html">String</a><div class="summaryTableDescription">[read-only] Details of the current error.</div></td><td class="summaryTableOwnerCol">SQLError</td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../Error.html#errorID" class="signatureLink">errorID</a> : <a href="../../int.html">int</a><div class="summaryTableDescription">[read-only] Contains the reference number associated with the specific error message.</div></td><td class="summaryTableOwnerCol"><a href="../../Error.html">Error</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../Error.html#message" class="signatureLink">message</a> : <a href="../../String.html">String</a><div class="summaryTableDescription">Contains the message associated with the Error object.</div></td><td class="summaryTableOwnerCol"><a href="../../Error.html">Error</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../Error.html#name" class="signatureLink">name</a> : <a href="../../String.html">String</a><div class="summaryTableDescription">Contains the name of the Error object.</div></td><td class="summaryTableOwnerCol"><a href="../../Error.html">Error</a></td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><img src="../../images/AirIcon12x12.gif" width="12" height="12" hspace="0" vspace="0" alt="AIR-only" title="Only available in the AIR runtime">&nbsp;<a href="#operation" class="signatureLink">operation</a> : <a href="../../String.html">String</a><div class="summaryTableDescription">[read-only] A value indicating the operation that was being attempted when the error occurred.</div></td><td class="summaryTableOwnerCol">SQLError</td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../Object.html#prototype" class="signatureLink">prototype</a> : <a href="../../Object.html">Object</a><div class="summaryTableDescription">[static] A reference to the prototype object of a class or function object.</div></td><td class="summaryTableOwnerCol"><a href="../../Object.html">Object</a></td></tr></table></div><a name="methodSummary"></a><div class="summarySection"><div class="summaryTableTitle">Public Methods </div><div class="showHideLinks"><div id="hideInheritedMethod" class="hideInheritedMethod"><a class="showHideLink" href="#methodSummary" onclick="javascript:setInheritedVisible(false,'Method');"><img class="showHideLinkImage" src="../../images/expanded.gif"> Hide Inherited Public Methods</a></div><div id="showInheritedMethod" class="showInheritedMethod"><a class="showHideLink" href="#methodSummary" onclick="javascript:setInheritedVisible(true,'Method');"><img class="showHideLinkImage" src="../../images/collapsed.gif"> Show Inherited Public Methods</a></div></div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableMethod"><tr><th>&nbsp;</th><th colspan="2">Method</th><th>Defined By</th></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><img src="../../images/AirIcon12x12.gif" width="12" height="12" hspace="0" vspace="0" alt="AIR-only" title="Only available in the AIR runtime">&nbsp;<a href="#SQLError()" class="signatureLink">SQLError</a>(operation:<a href="../../String.html">String</a>, details:<a href="../../String.html">String</a> = "", message:<a href="../../String.html">String</a> = "", id:<a href="../../int.html">int</a> = 0, detailID:<a href="../../int.html">int</a> = -1, detailArgs:<a href="../../Array.html">Array</a> = null)</div><div class="summaryTableDescription">Creates a SQLError instance that can be thrown or used with a
     SQLErrorEvent instance's error property.</div></td><td class="summaryTableOwnerCol">SQLError</td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../Error.html#getStackTrace()" class="signatureLink">getStackTrace</a>():<a href="../../String.html">String</a></div><div class="summaryTableDescription">Returns the call stack for an error as a string at the time of the error's construction (for the debugger version
  of Flash Player and the AIR Debug Launcher (ADL) only; returns null if not using the debugger version
  of Flash Player or the ADL.</div></td><td class="summaryTableOwnerCol"><a href="../../Error.html">Error</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../Object.html#hasOwnProperty()" class="signatureLink">hasOwnProperty</a>(name:<a href="../../String.html">String</a>):<a href="../../Boolean.html">Boolean</a></div><div class="summaryTableDescription">Indicates whether an object has a specified property defined.</div></td><td class="summaryTableOwnerCol"><a href="../../Object.html">Object</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../Object.html#isPrototypeOf()" class="signatureLink">isPrototypeOf</a>(theClass:<a href="../../Object.html">Object</a>):<a href="../../Boolean.html">Boolean</a></div><div class="summaryTableDescription">Indicates whether an instance of the Object class is in the prototype chain of the object specified 
  as the parameter.</div></td><td class="summaryTableOwnerCol"><a href="../../Object.html">Object</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../Object.html#propertyIsEnumerable()" class="signatureLink">propertyIsEnumerable</a>(name:<a href="../../String.html">String</a>):<a href="../../Boolean.html">Boolean</a></div><div class="summaryTableDescription">Indicates whether the specified property exists and is enumerable.</div></td><td class="summaryTableOwnerCol"><a href="../../Object.html">Object</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../Object.html#setPropertyIsEnumerable()" class="signatureLink">setPropertyIsEnumerable</a>(name:<a href="../../String.html">String</a>, isEnum:<a href="../../Boolean.html">Boolean</a> = true):<a href="../../specialTypes.html#void">void</a></div><div class="summaryTableDescription">Sets the availability of a dynamic property for loop operations.</div></td><td class="summaryTableOwnerCol"><a href="../../Object.html">Object</a></td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><img src="../../images/AirIcon12x12.gif" width="12" height="12" hspace="0" vspace="0" alt="AIR-only" title="Only available in the AIR runtime">&nbsp;<a href="#toString()" class="signatureLink">toString</a>():<a href="../../String.html">String</a></div><div class="summaryTableDescription">Returns the string "Error" by default or the value contained in the Error.message property,
    if defined.</div></td><td class="summaryTableOwnerCol">SQLError</td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../Object.html#valueOf()" class="signatureLink">valueOf</a>():<a href="../../Object.html">Object</a></div><div class="summaryTableDescription">Returns the primitive value of the specified object.</div></td><td class="summaryTableOwnerCol"><a href="../../Object.html">Object</a></td></tr></table></div><script language="javascript" type="text/javascript"><!--
                      showHideInherited();
                      --></script><div class="MainContent"><div class="detailSectionHeader">Property Detail</div><a name="propertyDetail"></a><a name="detailArguments"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName"><img src="../../images/AirIcon12x12.gif" width="12" height="12" hspace="0" vspace="0" alt="AIR-only" title="Only available in the AIR runtime">&nbsp;detailArguments</td><td class="detailHeaderType">property</td></tr></table><div class="detailBody"><code>detailArguments:<a href="../../Array.html">Array</a></code>&nbsp;&nbsp;[read-only] <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>Runtime Versions:&nbsp;</b></td><td>AIR 1.1</td></tr></table><p></p><p></p><p>
          An array of String values that can be used to construct a locale specific
      detail error message.
          <p>
            This property contains the value or values that are substituted into 
   the
            <code>details</code>
            property error message to indicate the specific 
   database object or objects (table name, column name, and so forth) 
   associated with the error. For example, suppose an error with the following
            <code>details</code>
            property error message occurs in an application:
          </p>
          
          <div class="listing"><pre>there is already another table or index with this name: 'my_table'</pre></div>
          
          <p>
            In that case, the SQLError instance's
            <code>detailArguments</code>
            property would contain a single element with the value
            <code>"my_table"</code>
            .
          </p>
          
          <p>
            Using the
            <code>detailID</code>
            property an 
   application can identify the specific
            <code>details</code>
            error message. The 
   application can provide alternate text for the end user in the language 
   of his or her locale. The argument values in the
            <code>detailArguments</code>
            array 
   can be substituted in the appropriate position in the error message string. This 
   is useful for applications that wish to display the
            <code>details</code>
            property error message for this error directly to end users in a specific locale.
          </p>
          
          <p>
            For a list of the
            <code>detailID</code>
            values and their corresponding 
   English error details message and arguments, see the appendix 
   "
            <a href="../../localDatabaseSQLErrorDetails.html" target="">SQL error detail messages, ids, and arguments</a>
            ."
          </p>
          
        </p><br/><br/><span class="label"> Implementation </span><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function get detailArguments():<a href="../../Array.html">Array</a></code><br/></div><a name="propertyDetail"></a><a name="detailID"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName"><img src="../../images/AirIcon12x12.gif" width="12" height="12" hspace="0" vspace="0" alt="AIR-only" title="Only available in the AIR runtime">&nbsp;detailID</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>detailID:<a href="../../int.html">int</a></code>&nbsp;&nbsp;[read-only] <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>Runtime Versions:&nbsp;</b></td><td>AIR 1.1</td></tr></table><p></p><p></p><p>
          A reference number associated with the specific detail message.
      This value is used to support locale specific translations of the
          <code>details</code>
          property error message.
          <p>
            This property provides a unique identifier for each
            <code>details</code>
            message. (For any type of error with a specific
            <code>errorID</code>
            there are 
   multiple errors with unique
            <code>detailID</code>
            values.) Using this 
   identifier together with the value or values in the
            <code>detailArguments</code>
            array, an application can provide 
      locale specific detail error messages. This is useful for applications
      that wish to display the
            <code>details</code>
            property error message for 
   this error directly to end users in a specific locale.
          </p>
          
          <p>
            For a list of the
            <code>detailID</code>
            values and their corresponding 
   English error details message and arguments, see the appendix 
   "
            <a href="../../localDatabaseSQLErrorDetails.html" target="">SQL error detail messages, ids, and arguments</a>
            ."
          </p>
          
        </p><br/><br/><span class="label"> Implementation </span><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function get detailID():<a href="../../int.html">int</a></code><br/></div><a name="propertyDetail"></a><a name="details"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName"><img src="../../images/AirIcon12x12.gif" width="12" height="12" hspace="0" vspace="0" alt="AIR-only" title="Only available in the AIR runtime">&nbsp;details</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>details:<a href="../../String.html">String</a></code>&nbsp;&nbsp;[read-only] <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>Runtime Versions:&nbsp;</b></td><td>AIR 1.0</td></tr></table><p></p><p></p><p>Details of the current error. This provides additional specific
     information about the error that occurred.</p><br/><br/><span class="label"> Implementation </span><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function get details():<a href="../../String.html">String</a></code><br/></div><a name="propertyDetail"></a><a name="operation"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName"><img src="../../images/AirIcon12x12.gif" width="12" height="12" hspace="0" vspace="0" alt="AIR-only" title="Only available in the AIR runtime">&nbsp;operation</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>operation:<a href="../../String.html">String</a></code>&nbsp;&nbsp;[read-only] <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>Runtime Versions:&nbsp;</b></td><td>AIR 1.0</td></tr></table><p></p><p></p><p>A value indicating the operation that was being attempted when the error occurred.
     This value is one of the constants defined in the SQLErrorOperation class.</p><br/><br/><span class="label"> Implementation </span><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function get operation():<a href="../../String.html">String</a></code><br/><p><span class="label">See also</span></p><div class="seeAlso"><a href="SQLErrorOperation.html" target="">flash.errors.SQLErrorOperation</a></div></div><a name="constructorDetail"></a><div class="detailSectionHeader">Constructor Detail</div><a name="SQLError()"></a><a name="SQLError(String,String,String,int,int,Array)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName"><img src="../../images/AirIcon12x12.gif" width="12" height="12" hspace="0" vspace="0" alt="AIR-only" title="Only available in the AIR runtime">&nbsp;SQLError</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">Constructor</td></tr></table><div class="detailBody"><code>public function SQLError(operation:<a href="../../String.html">String</a>, details:<a href="../../String.html">String</a> = "", message:<a href="../../String.html">String</a> = "", id:<a href="../../int.html">int</a> = 0, detailID:<a href="../../int.html">int</a> = -1, detailArgs:<a href="../../Array.html">Array</a> = null)</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>Runtime Versions:&nbsp;</b></td><td>AIR 1.0</td></tr></table><p></p><p>
          Creates a SQLError instance that can be thrown or used with a
     SQLErrorEvent instance's
          <code>error</code>
          property.
        </p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">operation</span>:<a href="../../String.html">String</a></code> &mdash; Indicates the specific operation that caused
     the failure. The value is one of the constants defined in the
     SQLErrorOperation class.</td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20px"></td><td><code><span class="label">details</span>:<a href="../../String.html">String</a></code> (default = "<code></code>")<code></code> &mdash; The details for the current error.</td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20px"></td><td><code><span class="label">message</span>:<a href="../../String.html">String</a></code> (default = "<code></code>")<code></code> &mdash; The description of the error that
     occurred.</td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20px"></td><td><code><span class="label">id</span>:<a href="../../int.html">int</a></code> (default = <code>0</code>)<code></code> &mdash; A reference number associated with the specific error message.</td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20px"></td><td><code><span class="label">detailID</span>:<a href="../../int.html">int</a></code> (default = <code>-1</code>)<code></code> &mdash; A reference number associated with the detail error message.</td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20px"></td><td><code><span class="label">detailArgs</span>:<a href="../../Array.html">Array</a></code> (default = <code>null</code>)<code></code> &mdash; An ordered array of substitution values that can be used
     to construct a locale specific detail error message.</td></tr></table><p><span class="label">See also</span></p><div class="seeAlso"><a href="SQLErrorOperation.html" target="">flash.errors.SQLErrorOperation</a></div></div><a name="methodDetail"></a><div class="detailSectionHeader">Method Detail</div><a name="toString()"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName"><img src="../../images/AirIcon12x12.gif" width="12" height="12" hspace="0" vspace="0" alt="AIR-only" title="Only available in the AIR runtime">&nbsp;toString</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td></tr></table><div class="detailBody"><code> public function toString():<a href="../../String.html">String</a></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>Runtime Versions:&nbsp;</b></td><td>AIR 1.0</td></tr></table><p></p><p></p><p>
          Returns the string
          <code>"Error"</code>
          by default or the value contained in the
          <code>Error.message</code>
          property,
    if defined.
        </p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code><a href="../../String.html">String</a></code> &mdash; The error message.</td></tr></table></div><br/><br/><hr><br/><p></p><center class="copyright"> &copy; 2004-2008 Adobe Systems Incorporated. All rights reserved. <br/>Thu Oct 30 2008, 07:08 PM -07:00  </center><div style="display:none">SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError SQLError </div><div style="display:none">flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError flash.errors.SQLError </div></div></body></html><!-- &copy; 2004-2008 Adobe Systems Incorporated. All rights reserved. <br/>Thu Oct 30 2008, 07:08 PM -07:00  -->
