I have a question regarding Runtime-exceptions. Some seem to interrupt the running of the code (for example IllegalMonitorState Exception), i.e. the code beneath the place where the exception is thrown will not run.
However, when using parseInt() which throws a NumberFormatException, the code beneath still runs, like in ex 64:64 in the Master Exam.
How do I know when the program will stop and when it will continue?
Maybe it would help to post the code you're questioning, so we could walk you through it.
"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
Joined: Mar 13, 2007
When I was about to post my code I found the answer ;-) parseInt() will not throw an exception unless the string it receives is badly formatted and mine was not! Maybe a bit stupid but I first thought that it was always supposed to be thrown...
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com