Creating Your Own Exception Class

For one point of extra credit, you are to create your own Exception class, named DuplicateIDException. The exception is to be thrown whenever a Student is constructed who does not have a unique ID. When the exception is caught, a message to the user with the name of the student and the ID is displayed as follows:
Joe Smith's ID number, 30, is not unique and can not be assigned.

To help you accomplish this task, you are to store all IDs into an ArrayList. Click here for the API of an ArrayList.

Your Exception class constructor should take one argument, its message (the line of text that will be displayed, as described above).

Be sure to add students to the students.txt file to test your exception class.