package samples.faults;



import samples.faults.Employee;

public class EmployeeClient {
    public static void main(String[] args) throws Exception {
       EmployeeInfoServiceLocator loc = new EmployeeInfoServiceLocator();
       EmployeeInfo info = loc.getEmployeeInfo();
       try {
         info.getEmployee("amy");
	   } catch(NoSuchEmployeeFault nsef) {
		   System.out.println("yeah I got my custom exception");
	   }
    }
}
