Search:

Type: Posts; User: Junky

Search: Search took 0.10 seconds.

  1. [SOLVED] Re: Problems with Try/Catch Catching Wrong Exception

    Really????

    You cannot see that trying to parse "-" to a double will throw a NumberFormatException. In that case please inform us to what number you think "-" represents.
  2. [SOLVED] Re: Problems with Try/Catch Catching Wrong Exception

    I don't know where or when you code could possibly throw a NPE. If your code does throw a NPE then you need to track down where it is, why it is happening and fix it. Just adding a catch clause to...
  3. [SOLVED] Re: Problems with Try/Catch Catching Wrong Exception

    In my opinion you should never catch a NPE or any other RuntimeException. They are an indication that there is a serious flaw in the programs logic that should be fixed rather than catch it and carry...
Results 1 to 3 of 3