问题 I have created my own type of exception and want to implement it in a method. As of now I have written it in the following way, and it works. public Worker remove (String firstName, String lastName, String number) throws NoSuchEmployeeException { Worker w = null; for (int i = 0; i < list.size(); i++) { if (list.get(i).getFirstName().compareTo(firstName) == 0 && list.get(i).getLastName().compareTo(lastName) == 0 && list.get(i).getNumber().compareTo(number) == 0) { w = list.get(i); list.remove