Create an EmployeeException class whose constructor receives a String that consists of an employee's ID and pay rate. Save the file as EmployeeException.java.
Create an Employee class with two fields, idNum and hourlyWage. The Employee constructor requires values for both fields. Upon construction, it throw an EmployeeException if the hourlyWage is less than 6.00 or over 50.00. Save the class as Employee.java.
Write an application that establishes at least three Employees with hourly wages that are above, below and within the allowed range. Display an appropriate message when an Employee is successfully created and when one is not. Save the file as ThrowEmployee.java.