Please don't hijack old threads Brajraj, always create your own thread if you have a problem.
In the meantime, the exception you're looking to handle is InputMismatchException.
Type: Posts; User: newbie
Please don't hijack old threads Brajraj, always create your own thread if you have a problem.
In the meantime, the exception you're looking to handle is InputMismatchException.
You can view the page at http://www.javaprogrammingforums.com/content.php?r=55-Create-your-own-Exceptions!