This week's giveaway is in the Java/Jakarta EE forum. We're giving away four copies of Java EE 8 High Performance and have Romain Manni-Bucau on-line! See [ May 27, 2006: Message edited by: marc weber ]
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer sscce.org
posted 11 years ago
Originally posted by marc weber:
The method extractPdf declares that it might throw an IOException. Therefore, when you call this method, your calling line might throw an IOException. The line of code indicated in your error message is probably something like...
It looks like you're already catching any IOException within the extractPdf method, so I don't think that method needs to declare a possible exception. If you remove that declaration, then your calling line should be okay.
[ May 27, 2006: Message edited by: marc weber ]
true that work...... but i need to add another try catch in the finnaly for the document.close....