Beispiel
public interface
ExampleHome
extends
javax.ejb.EJBHome {
public
String findByPrimaryKey(String key);
//other methods that implement the interface
}
Lösung
Lösen Sie für jede Finder-Methode die Ausnahmebedingung 'javax.ejb.FinderException' aus.
public interface
ExampleHome
extends
javax.ejb.EJBHome {
public
String findByPrimaryKey(String key)
throws
javax.ejb.FinderException;
//other methods that implement the interface
}