📄 qtruntimeexception.html
字号:
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="QTRuntimeException(quicktime.QTException)"><!-- --></A><H3>QTRuntimeException</H3><PRE>public <B>QTRuntimeException</B>(<A HREF="../quicktime/QTException.html">QTException</A> e)</PRE><DL><DD>Creates a QTRuntimeException<DD><DL><DT><B>Parameters:</B><DD><CODE>e</CODE> - the QTException that created the runtime error</DL></DD></DL><HR><A NAME="QTRuntimeException(java.lang.Exception)"><!-- --></A><H3>QTRuntimeException</H3><PRE>public <B>QTRuntimeException</B>(java.lang.Exception e)</PRE><DL><DD>Creates a QTRuntimeException<DD><DL><DT><B>Parameters:</B><DD><CODE>e</CODE> - the Exception that created the runtime error</DL></DD></DL><HR><A NAME="QTRuntimeException(int)"><!-- --></A><H3>QTRuntimeException</H3><PRE>public <B>QTRuntimeException</B>(int val)</PRE><DL><DD>Creates an QTRuntimeException with a message that could contain information that could be displayed to the user.<DD><DL><DT><B>Parameters:</B><DD><CODE>val</CODE> - typically some error code</DL></DD></DL><HR><A NAME="QTRuntimeException(java.lang.String)"><!-- --></A><H3>QTRuntimeException</H3><PRE>public <B>QTRuntimeException</B>(java.lang.String str)</PRE><DL><DD>Creates an QTRuntimeException with a message that could contain information that could be displayed to the user.<DD><DL><DT><B>Parameters:</B><DD><CODE>str</CODE> - The message that could be displayed to the user</DL></DD></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="handleOrThrow(quicktime.QTRuntimeException, java.lang.Object, java.lang.String)"><!-- --></A><H3>handleOrThrow</H3><PRE>public static void <B>handleOrThrow</B>(<A HREF="../quicktime/QTRuntimeException.html">QTRuntimeException</A> e, java.lang.Object eGenerator, java.lang.String methodNameIfKnown)</PRE><DL><DD>If there is a handler registered for the exception it will be passed to that handler. The handler should either deal with the exception or throw it - particularly if the exception is notified as a potentially serious exception - eg. memFullErr<DD><DL><DT><B>Parameters:</B><DD><CODE>e</CODE> - the exception to either handle or throw</DL></DD></DL><HR><A NAME="registerHandler(quicktime.QTRuntimeHandler)"><!-- --></A><H3>registerHandler</H3><PRE>public static void <B>registerHandler</B>(<A HREF="../quicktime/QTRuntimeHandler.html">QTRuntimeHandler</A> h)</PRE><DL><DD>This registers an object that will handle the runtime Exceptions that may be generated through the (ab)normal running of a QTJava application or applet.<DD><DL><DT><B>Parameters:</B><DD><CODE>h</CODE> - the QTRuntimeHandler that will handle or throw QTRuntimeExceptions or null to remove handler.</DL></DD></DL><HR><A NAME="errorCode()"><!-- --></A><H3>errorCode</H3><PRE>public final int <B>errorCode</B>()</PRE><DL><DD>Return the error code that generated the exception. If there was no QT error code number known this value will be 0 in which case the message contains information about the exception.<DD><DL><DT><B>Returns:</B><DD>an int</DL></DD></DL><HR><A NAME="getException()"><!-- --></A><H3>getException</H3><PRE>public final java.lang.Exception <B>getException</B>()</PRE><DL><DD>Return the Exception that created the runtime error.<DD><DL><DT><B>Returns:</B><DD>an Exception that created the runtime error</DL></DD></DL><HR><A NAME="errorCodeToString()"><!-- --></A><H3>errorCodeToString</H3><PRE>public java.lang.String <B>errorCodeToString</B>()</PRE><DL><DD>Returns a string that represents the error code of the current QTException. This will return the name of the error code as represented in the quicmtime.Errors interface. If the error code is unknown then the string "Unknown Error Code" will be returned.<DD><DL><DT><B>Returns:</B><DD>a string that represents the current error code of the QTException.</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>Print current build information and current exception details.<DD><DL><DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Throwable</CODE></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/QTRuntimeException.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../quicktime/QTNullPointerException.html"><B>PREV CLASS</B></A> <A HREF="../quicktime/QTUnknownOSException.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="QTRuntimeException.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -