Problem Part 1 Write A Custom Exception Handler Public Class Extends Your Code Here Public Class Student 1 (28.9 KiB) Viewed 34 times
Problem Part 1 Write A Custom Exception Handler Public Class Extends Your Code Here Public Class Student 2 (28.9 KiB) Viewed 34 times
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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!