Post-compilation byte-code manipulation should be an absolute total last resort. Look into AspectJ instead of doing it by hand. There are also a few byte-code manipulation libraries that might help... here there be dragons.
Actually i dont have source code of that jar. So i can't debug it. But i am getting some exception within that class file. So i just want to print some information within that class. So I need something to modify it.