Example

public interface ExampleHome extends javax.ejb.EJBHome {

public String findByPrimaryKey(String key);
//other methods that implement the interface
}

Solution
Throw javax.ejb.FinderException for each finder method.


public interface ExampleHome extends javax.ejb.EJBHome {

public String findByPrimaryKey(String key) throws javax.ejb.FinderException;
//other methods that implement the interface
}