Problem Part 1: write a custom exception handler public class ??? extends ??? { //Your code here } public class Student
Posted: Fri Jul 01, 2022 5:37 am
Problem Part 1: write a custom exception handler public class ??? extends ??? { //Your code here } public class Student Manager { public Student find (String studentID) throws StudentNotFoundException { { } } if (studentID.equals("123456")) return new Student (); } else { throw new StudentNotFoundException( "Could not find student with ID " + studentID); } Peter Farrett to Everyone Problem Part 2: Write a 2nd class (Student Test) that tests your code