Search:

Type: Posts; User: Norm

Search: Search took 0.08 seconds.

  1. Re: Problem with code recognizing invalid characters after spaces....

    Changing the exception class to a more restricted one won't change the code catching an exception. The more general class will catch all the exceptions.
    If the OP is entering is a number followed...
  2. Re: Problem with code recognizing invalid characters after spaces....

    Can you post the console from when you execute the code that shows what is typed in?
    I get a java.util.InputMismatchException when I enter a g.
    Also print out the value of s to show what value was...
Results 1 to 2 of 2