Search:

Type: Posts; User: andreas90

Search: Search took 0.11 seconds.

  1. Replies
    4
    Views
    1,087

    Re: Troube Looping "try/catch"

    You can avoid the infinite loop if you create the Scanner oblect inside the try clause.
  2. Replies
    4
    Views
    1,087

    Re: Troube Looping "try/catch"

    Hello joelamos!
    What do you want it to do instead of "repeating"?
    When the exception occurs you have the following statement itsAnInt = false; So the while loop keeps going.
Results 1 to 2 of 2