示例
public interface
ExampleHome
extends
javax.ejb.EJBHome {
public void
create();
//other methods that implement the interface
}
解决方案
对于每个 create 方法,抛出 javax.ejb.CreateException。
public interface
ExampleHome
extends
javax.ejb.EJBHome {
public void
create()
throws
javax.ejb.FinderException;
//other methods that implement the interface
}