📄 codeexception.html
字号:
<TD><CODE><B><A HREF="../../../../org/apache/bcel/classfile/CodeException.html#getStartPC()">getStartPC</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/bcel/classfile/CodeException.html#setCatchType(int)">setCatchType</A></B>(int catch_type)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/bcel/classfile/CodeException.html#setEndPC(int)">setEndPC</A></B>(int end_pc)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/bcel/classfile/CodeException.html#setHandlerPC(int)">setHandlerPC</A></B>(int handler_pc)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/bcel/classfile/CodeException.html#setStartPC(int)">setStartPC</A></B>(int start_pc)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/bcel/classfile/CodeException.html#toString()">toString</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/bcel/classfile/CodeException.html#toString(org.apache.bcel.classfile.ConstantPool)">toString</A></B>(<A HREF="../../../../org/apache/bcel/classfile/ConstantPool.html">ConstantPool</A> cp)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/bcel/classfile/CodeException.html#toString(org.apache.bcel.classfile.ConstantPool, boolean)">toString</A></B>(<A HREF="../../../../org/apache/bcel/classfile/ConstantPool.html">ConstantPool</A> cp, boolean verbose)</CODE><BR> </TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><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>clone, equals, finalize, 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="CodeException(org.apache.bcel.classfile.CodeException)"><!-- --></A><H3>CodeException</H3><PRE>public <B>CodeException</B>(<A HREF="../../../../org/apache/bcel/classfile/CodeException.html">CodeException</A> c)</PRE><DL><DD>Initialize from another object.</DL><HR><A NAME="CodeException(int, int, int, int)"><!-- --></A><H3>CodeException</H3><PRE>public <B>CodeException</B>(int start_pc, int end_pc, int handler_pc, int catch_type)</PRE><DL><DD><DL><DT><B>Parameters:</B><DD><CODE>start_pc</CODE> - Range in the code the exception handler is active, start_pc is inclusive while<DD><CODE>end_pc</CODE> - is exclusive<DD><CODE>handler_pc</CODE> - Starting address of exception handler, i.e., an offset from start of code.<DD><CODE>catch_type</CODE> - If zero the handler catches any exception, otherwise it points to the exception class which is to be caught.</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="accept(org.apache.bcel.classfile.Visitor)"><!-- --></A><H3>accept</H3><PRE>public void <B>accept</B>(<A HREF="../../../../org/apache/bcel/classfile/Visitor.html">Visitor</A> v)</PRE><DL><DD>Called by objects that are traversing the nodes of the tree implicitely defined by the contents of a Java class. I.e., the hierarchy of methods, fields, attributes, etc. spawns a tree of objects.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../../org/apache/bcel/classfile/Node.html#accept(org.apache.bcel.classfile.Visitor)">accept</A></CODE> in interface <CODE><A HREF="../../../../org/apache/bcel/classfile/Node.html">Node</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>v</CODE> - Visitor object</DL></DD></DL><HR><A NAME="dump(java.io.DataOutputStream)"><!-- --></A><H3>dump</H3><PRE>public final void <B>dump</B>(java.io.DataOutputStream file) throws java.io.IOException</PRE><DL><DD>Dump code exception to file stream in binary format.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>file</CODE> - Output file stream</DL></DD></DL><HR><A NAME="getCatchType()"><!-- --></A><H3>getCatchType</H3><PRE>public final int <B>getCatchType</B>()</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>0, if the handler catches any exception, otherwise it points to the exception class which is to be caught.</DL></DD></DL><HR><A NAME="getEndPC()"><!-- --></A><H3>getEndPC</H3><PRE>public final int <B>getEndPC</B>()</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Exclusive end index of the region where the handler is active.</DL></DD></DL><HR><A NAME="getHandlerPC()"><!-- --></A><H3>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -