Write a program that displays a student ID number and asks the user to enter a numeric test score for the student. Create a ScoreException class, and throw a ScoreException for that class if the user does not enter a valid score (less than or equal to 100). Catch the ScoreException and then display an appropriate message.
The solution contains the self explanatory code with proper comments for each line to make it easier for everyone else to understand the logistics of the code. Grab a copy and enjoy the wonderful Java programming sample.