This article is a stub. You can help Programmer's Wiki by expanding it. Remember to remove this when the stub is fixed.
Exceptions allow you to send a warning message to any programs that may be using your class. This allows the program to catch the Exception and deal with the problem.