Hi all,
I've been trying (without success) insert code in specific places on method's body. I need to handle all exceptions using a specific class.
Something like it:
method (param1, param2) {
try {
...
} catch (IOException e) {
Myhandler.handler(e, param1, param2) // <-- inserted by Javassist
...
} catch (Exception e) {
Myhandler.handler(e, param1, param2) // <-- inserted by Javassist
...
}
}