plugin and try/catch problem

I have a plug-in that was working perfectly until I added an FileOutputStream and its corresponding try/catch block. Now when I try to run my plugin, the popup menu come up corrctly but when I click to run my code it tells me the operation is not available. If I delete those three line it works fine again.

Instead or try/catch I could do run() throws XYZException, but that gives an error. Any ideas how I can get this fixed? Thanks

[448 byte] By [dgarci2a] at [2007-11-26 19:19:35]
# 1
It's nigh impossible to help without seeing some code.
jverda at 2007-7-9 21:36:14 > top of Java-index,Java Essentials,Java Programming...
# 2
turns out that was not really what was causing the error. I was using the iText library, and I had added it to the classpath of the plugin but I didnt add it to the runtime classpath, so my 'new' eclipse windows was not working properly. Thanks anyways
dgarci2a at 2007-7-9 21:36:14 > top of Java-index,Java Essentials,Java Programming...
# 3
That was going to be my second guess.
DrLaszloJamfa at 2007-7-9 21:36:14 > top of Java-index,Java Essentials,Java Programming...