public void DeleteStudentInCourse(int perID, int courseID) { try { dl.DeleteStudentInCourse(perID, courseID); } catch (DO.BadPersonIdCourseIDException ex) { throw new BO.BadStudentIdCourseIDException("Student ID and Course ID is Not exist", ex); } }