jakarta-bcel-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laurent Martelli <laur...@bearteam.org>
Subject Re: Exception table
Date Mon, 09 Sep 2002 09:56:11 GMT
>>>>> "Anthony" == Anthony La Forge <e_lection@hotmail.com> writes:

  Anthony> The exception needs to be explictly called out by the
  Anthony> method (e.g. public void myMethod *throws ExceptionXYZ
  Anthony> {...}) otherwise the exception will not end up in the
  Anthony> table.  Even if you have a throw statement in your code or
  Anthony> a try catch block, they will not appear unless the previous
  Anthony> condition was met.

  Anthony> Hope that helps.

It does, thanks. I thought that it represented exception
handlers. What I wanted was method.code().getExceptionTable().

Laurent Martelli                        http://jac.aopsys.com/
laurent@bearteam.org                    http://www.bearteam.org/~laurent/

To unsubscribe, e-mail:   <mailto:bcel-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:bcel-user-help@jakarta.apache.org>

View raw message