Oleg Barmin [
https://community.jboss.org/people/lezhik] created the discussion
"Insert code at the end of catch block"
To view the discussion, visit:
https://community.jboss.org/message/763769#763769
--------------------------------------------------------------
Hi,
I need to insert code at the end of catch block at runtime.But I have two problems with
this.
1) Start of cathc block is stored in the handlerPc of the exception table. How to get the
end of catch block?
2) How to add a code as the last instructions at the catch block (not before the last
line)?
Best regards,
Oleg Barmin.
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/763769#763769]
Start a new discussion in Javassist at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]