catch blocks
C E Ezeugoh <[email protected]> Sun, 7 Aug 2005 02:58:53 +0100
| Newsgroups | gmane.comp.jakarta.bcel.user |
|---|---|
| Message-ID | <[email protected]> |
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