You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bcel-user@jakarta.apache.org by C E Ezeugoh <ce...@gmail.com> on 2005/08/07 03:58:53 UTC

catch blocks

Hi all,

I am a BCEL newbie and am trying to find all the Exceptions types and 
variables catch blocks in a given method.
ie:
...
public void method() {
...
try {
...
} catch (ExceptionType exception_variable) {
}
..
}
...

Given such a fragment how can I harness CodeExceptionGen and its 
getHandlerPC or other method to retrieve
ExceptionType and exception_variable?

Cheers

Elisha