Raising Errors from a Class

Project Name:	Task10_2.vbp
File Folder:	Ex10_2

	This sample project demonstrates the use of an enumeration. The valid values for the task priorities are defined in a public enumeration. This project also provides an example of error handling. A public enumeration is used to expose the error numbers that can be raised from the class to the calling routine.
	The resulting application validates the priority and time due and raises an error if the values are not valid. The user interface traps the error and presents a message to the user.
	For a challenge, try the following:
- Defining an enumeration in the class that assigns long integer values to the categories that were identified in the prior challenge.
- Adding error handling to validate the category value.
