⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lcjsexc.html

📁 javascript 1.5规范
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<zcodeline>3. public JSException(String s,<br>&nbsp;&nbsp;&nbsp;String filename,<br>&nbsp;&nbsp;&nbsp;int lineno,<br>&nbsp;&nbsp;&nbsp;String source,<br>&nbsp;&nbsp;&nbsp;int tokenIndex)</zcodeline></FONT><P><BR><A NAME="1193170"> </A><A NAME="Arguments"> </A><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2"><B><zrefheader>Arguments</zrefheader></B></FONT><BR><A NAME="1193192"> </A><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2"><zparagraph><BR><P><TABLE WIDTH="90%" BORDER="1" CELLPADDING="5" CELLSPACING="0">  <CAPTION></CAPTION><P><FONT FACE=""><B></B></FONT><BR><BR>  <TR>    <TD VALIGN=TOP><A NAME="1194467"></A><FONT FACE="courier, couriernew, monospaced size" SIZE="2"><zcodeline>s</zcodeline></FONT><P>&nbsp;</TD>    <TD VALIGN=TOP><P><A NAME="1194469"> </A><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2"><ztabletext>The detail message.</ztabletext></FONT>&nbsp;</TD>  </TR>  <TR>    <TD VALIGN=TOP><A NAME="1194463"></A><FONT FACE="courier, couriernew, monospaced size" SIZE="2"><zcodeline>filename</zcodeline></FONT><P>&nbsp;</TD>    <TD VALIGN=TOP><P><A NAME="1194465"> </A><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2"><ztabletext>The URL of the file where the error occurred, if possible.</ztabletext></FONT>&nbsp;</TD>  </TR>  <TR>    <TD VALIGN=TOP><A NAME="1194459"></A><FONT FACE="courier, couriernew, monospaced size" SIZE="2"><zcodeline>lineno</zcodeline></FONT><P>&nbsp;</TD>    <TD VALIGN=TOP><P><A NAME="1194461"> </A><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2"><ztabletext>The line number if the file, if possible.</ztabletext></FONT>&nbsp;</TD>  </TR>  <TR>    <TD VALIGN=TOP><A NAME="1194455"></A><FONT FACE="courier, couriernew, monospaced size" SIZE="2"><zcodeline>source</zcodeline></FONT><P>&nbsp;</TD>    <TD VALIGN=TOP><P><A NAME="1194457"> </A><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2"><ztabletext>The string containing the JavaScript code being evaluated.</ztabletext></FONT>&nbsp;</TD>  </TR>  <TR>    <TD VALIGN=TOP><A NAME="1194451"></A><FONT FACE="courier, couriernew, monospaced size" SIZE="2"><zcodeline>tokenIndex</zcodeline></FONT><P>&nbsp;</TD>    <TD VALIGN=TOP><P><A NAME="1194453"> </A><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2"><ztabletext>The index into the source string where the error occurred.</ztabletext></FONT>&nbsp;</TD>  </TR></TABLE><P></zparagraph></FONT><P><BR><P><A NAME="1193796"> </A><A NAME="getWrappedException"> </A><FONT FACE="Arial, Helvetica, sans-serif" SIZE="4"><B><zrefhead2>getWrappedException</zrefhead2></B></FONT><P><A NAME="1193797"> </A><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2"><zparagraph>Instance method <FONT FACE="courier, couriernew, monospaced size">getWrappedException</FONT>.</zparagraph></FONT><P><BR><A NAME="1193798"> </A><A NAME="Declaration"> </A><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2"><B><zrefheader>Declaration</zrefheader></B></FONT><BR><A NAME="1193799"></A><FONT FACE="courier, couriernew, monospaced size" SIZE="2"><zcodeline>public Object getWrappedException()</zcodeline></FONT><P><BR><A NAME="1194770"> </A><A NAME="Description"> </A><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2"><B><zrefheader>Description</zrefheader></B></FONT><BR><A NAME="1194771"> </A><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2"><zparagraph><FONT FACE="courier, couriernew, monospaced size">getWrappedException()</FONT> returns an object that represents the value that the JavaScript actually threw. JavaScript can throw any type of value. Use <FONT FACE="courier, couriernew, monospaced size">getWrappedException()</FONT> to determine what kind of value the Object return type represents.</zparagraph></FONT><P><BR><P><A NAME="1194668"> </A><A NAME="getWrappedExceptionType"> </A><FONT FACE="Arial, Helvetica, sans-serif" SIZE="4"><B><zrefhead2>getWrappedExceptionType</zrefhead2></B></FONT><P><A NAME="1194669"> </A><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2"><zparagraph>Instance method <FONT FACE="courier, couriernew, monospaced size">getWrappedExceptionType</FONT>.</zparagraph></FONT><P><BR><A NAME="1194670"> </A><A NAME="Declaration"> </A><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2"><B><zrefheader>Declaration</zrefheader></B></FONT><BR><A NAME="1194671"></A><FONT FACE="courier, couriernew, monospaced size" SIZE="2"><zcodeline>public int getWrappedExceptionType()</zcodeline></FONT><P><BR><A NAME="1194798"> </A><A NAME="Description"> </A><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2"><B><zrefheader>Description</zrefheader></B></FONT><BR><A NAME="1194875"> </A><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2"><zparagraph><FONT FACE="courier, couriernew, monospaced size">getWrappedExceptionType()</FONT> returns an <FONT FACE="courier, couriernew, monospaced size">int</FONT> that matches one of the following static <FONT FACE="courier, couriernew, monospaced size">int</FONT>s declared by the <FONT FACE="courier, couriernew, monospaced size">JSException</FONT> class:</zparagraph></FONT><P><A NAME="1194964"> </A><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2"><zparagraph><BR><P><TABLE WIDTH="90%" BORDER="1" CELLPADDING="5" CELLSPACING="0">  <CAPTION></CAPTION><P><FONT FACE=""><B></B></FONT><BR><BR>  <TR>    <TD VALIGN=TOP><P><A NAME="1194922"> </A><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2"><ztabletext><FONT FACE="courier, couriernew, monospaced size">EXCEPTION_TYPE_EMPTY</FONT></ztabletext></FONT>&nbsp;</TD>  </TR>  <TR>    <TD VALIGN=TOP><P><A NAME="1194924"> </A><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2"><ztabletext><FONT FACE="courier, couriernew, monospaced size">EXCEPTION_TYPE_VOID</FONT></ztabletext></FONT>&nbsp;</TD>  </TR>  <TR>    <TD VALIGN=TOP><P><A NAME="1194926"> </A><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2"><ztabletext><FONT FACE="courier, couriernew, monospaced size">EXCEPTION_TYPE_OBJECT</FONT></ztabletext></FONT>&nbsp;</TD>  </TR>  <TR>    <TD VALIGN=TOP><P><A NAME="1194928"> </A><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2"><ztabletext><FONT FACE="courier, couriernew, monospaced size">EXCEPTION_TYPE_FUNCTION</FONT></ztabletext></FONT>&nbsp;</TD>  </TR>  <TR>    <TD VALIGN=TOP><P><A NAME="1194930"> </A><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2"><ztabletext><FONT FACE="courier, couriernew, monospaced size">EXCEPTION_TYPE_STRING</FONT></ztabletext></FONT>&nbsp;</TD>  </TR>  <TR>    <TD VALIGN=TOP><P><A NAME="1194932"> </A><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2"><ztabletext><FONT FACE="courier, couriernew, monospaced size">EXCEPTION_TYPE_NUMBER</FONT></ztabletext></FONT>&nbsp;</TD>  </TR>  <TR>    <TD VALIGN=TOP><P><A NAME="1194934"> </A><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2"><ztabletext><FONT FACE="courier, couriernew, monospaced size">EXCEPTION_TYPE_BOOLEAN</FONT></ztabletext></FONT>&nbsp;</TD>  </TR></TABLE><P></zparagraph></FONT><P>   </BLOCKQUOTE></BOOKCONTENT><FOOTERCONTENT>   <BLOCKQUOTE> <BR>            <b><a href="classint.html"><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2" COLOR="#993300">Previous</a></FONT>&nbsp;&nbsp;&nbsp;&nbsp;</b><a href="contents.html"><b><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2" COLOR="#993300">Contents</a></FONT></b>&nbsp;&nbsp;&nbsp;&nbsp;<a href="ix.html"><b><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2" COLOR="#993300">Index</a></FONT></b>&nbsp;&nbsp;&nbsp;&nbsp;<a href="lcjsobj.html"><b><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2" COLOR="#993300">Next</a></FONT></b>&nbsp;&nbsp;&nbsp;&nbsp;        <HR NOSHADE SIZE="1">   <font face="Arial, Helvetica, sans-serif" SIZE="1">Copyright &#169; 2000 <a href="http://www.netscape.com">Netscape Communications Corp.</a> All rights reserved.</FONT>   </BLOCKQUOTE>   <FONT FACE="Arial, Helvetica, sans-serif" SIZE="1">   <P ALIGN="RIGHT">Last Updated <B>September 28, 2000</B>   </FONT>   <BR></FOOTERCONTENT></MAINCONTENT></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -