Search:

Type: Posts; User: Cornix

Search: Search took 0.11 seconds.

  1. Re: Netbeans and Eclipse compiler's output is different. My book's output is too...

    If you add this line to your code then what your book says would be correct. Because now your are re-throwing the exception and it will reach main.

    By the way, books can have lots of errors, there...
  2. Re: Netbeans and Eclipse compiler's output is different. My book's output is too...

    As far as I understand the code the eclipse output is correct.
    The output from your book is not correct because the exception that was thrown in the method throwException() will never reach the main...
Results 1 to 2 of 2