aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/javassist/bytecode/ExceptionTable.java
diff options
context:
space:
mode:
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2009-06-09 08:50:06 +0000
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2009-06-09 08:50:06 +0000
commitebd545653c4c1d36009db5e6616afede3b65f1c2 (patch)
tree13dca0fc74a20110244536c1ee661f3e99397c15 /src/main/javassist/bytecode/ExceptionTable.java
parent29bf701b71069139ccf59868ebcb7352b9f8049f (diff)
downloadjavassist-ebd545653c4c1d36009db5e6616afede3b65f1c2.tar.gz
javassist-ebd545653c4c1d36009db5e6616afede3b65f1c2.zip
fixed JIRA JASSIST-83
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@479 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
Diffstat (limited to 'src/main/javassist/bytecode/ExceptionTable.java')
-rw-r--r--src/main/javassist/bytecode/ExceptionTable.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/javassist/bytecode/ExceptionTable.java b/src/main/javassist/bytecode/ExceptionTable.java
index b24bd04b..1c74e6e0 100644
--- a/src/main/javassist/bytecode/ExceptionTable.java
+++ b/src/main/javassist/bytecode/ExceptionTable.java
@@ -153,6 +153,8 @@ public class ExceptionTable implements Cloneable {
* Returns <code>catchType</code> of the <i>n</i>-th entry.
*
* @param nth the <i>n</i>-th (&gt;= 0).
+ * @return an index into the <code>constant_pool</code> table,
+ * or zero if this exception handler is for all exceptions.
*/
public int catchType(int nth) {
ExceptionTableEntry e = (ExceptionTableEntry)entries.get(nth);