Not sure exactly what to use.
I'm drawing a complete blank here. I should know this, but I think I'm looking up the wrong thing.
Basically I'm inputing a varible, be is a int or a String, but basically I need to add some code that will activate if I input something that I'm not suppose to or input something incorrectly. In other words I am handling illegal menu selection or input data without terminating the program.
I'm not asking for exact code, and thus why I didn't post any, but just what I need to look up. If that makes any sense
Any help?