27282930313233
public class FaultService { public void method1() throws Exception1 { throw new Exception1(); }
37383940414243
throw new Exception2(); } public int method3(int param1) throws Exception1, Exception2 { throw new Exception1(); }
23242526272829
import sample.rmi.server.exception.Exception3; public class Service3 implements Service3Interface { public void method1() throws Exception1 { throw new Exception1("Test Exception1"); }