hi, try must be associated with finally, or catch. try block following must be catch or finally. But in your code, there is a statement between the try block and catch block.please check this. in your compile time error shows that, it is not legal, to throw IOException, without using ioexception statements in your coding. if any mistakes in my view pls reply.
Thank you my well lotioned goddess! Here, have my favorite tiny ad!