- Posted by: Ashok Kumar Chava
- Posted on: August 27 2005 02:41 EDT
How can i find the try/catch block information from a .class file.I think i can use some reflection class but i am not sure which class i can use. can someone guide me through this?.
Thanks in advance.
I think you can use BCEL library by apache,
http://jakarta.apache.org/bcel/. Reflection would not be of much help as you can only query till method level, and not at the JVM instructions level. Hope it helps.
Use java decompiling tools to get the java files back.There are lot of free java decompilers available freely on net for downloads